summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1535.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-06 21:20:32 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-14 09:42:27 +0200
commitdf3647c9c8f145c813ec8c7bd4ec5a6f81d89666 (patch)
tree07dd2519e6b18a6c2a325ff4f2ac32bb06073e6e /tests/libtest/lib1535.c
parenteb49683e5591900b0c79fd9649a5aaf5549ea61f (diff)
downloadcurl-df3647c9c8f145c813ec8c7bd4ec5a6f81d89666.tar.gz
tests: Fix format specifiers
Diffstat (limited to 'tests/libtest/lib1535.c')
-rw-r--r--tests/libtest/lib1535.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib1535.c b/tests/libtest/lib1535.c
index 32519f206..6ff03467d 100644
--- a/tests/libtest/lib1535.c
+++ b/tests/libtest/lib1535.c
@@ -71,7 +71,7 @@ int test(char *URL)
}
if(protocol != CURLPROTO_HTTP) {
fprintf(stderr, "%s:%d protocol of http resource is incorrect; "
- "expected %ld but is %ld\n",
+ "expected %d but is %ld\n",
__FILE__, __LINE__, CURLPROTO_HTTP, protocol);
res = CURLE_HTTP_RETURNED_ERROR;
goto test_cleanup;