diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-11 23:40:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-21 23:21:47 +0200 |
commit | cb529b713f4882ac65a074ae8d87faa41d19168e (patch) | |
tree | b9f23f33a817107127020630c7b9b5764e8685f0 /tests/libtest/lib544.c | |
parent | f3d836b73601fc6d14cb917e1cd72f43b9056dff (diff) |
checksrc: make sure sizeof() is used *with* parentheses
... and unify the source code to adhere.
Closes #2563
Diffstat (limited to 'tests/libtest/lib544.c')
-rw-r--r-- | tests/libtest/lib544.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib544.c b/tests/libtest/lib544.c index cb1aefc87..60de7fc67 100644 --- a/tests/libtest/lib544.c +++ b/tests/libtest/lib544.c @@ -61,7 +61,7 @@ int test(char *URL) test_setopt(curl, CURLOPT_URL, URL); #ifdef LIB545 - test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof teststring); + test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof(teststring)); #endif test_setopt(curl, CURLOPT_COPYPOSTFIELDS, teststring); |