]> granicus.if.org Git - curl/commitdiff
made the non-matching error code output nicer since we know it is a number
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Feb 2008 12:14:31 +0000 (12:14 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Feb 2008 12:14:31 +0000 (12:14 +0000)
and the string contains a newline...

tests/runtests.pl

index 457b79d2a81e009626c25aff6448c53326e3a29f..a868b2c3a1e2032c64afaf6a061425729539bb51 100755 (executable)
@@ -2318,7 +2318,7 @@ sub singletest {
     }
     else {
         if(!$short) {
-            printf "\ncurl returned $cmdres, %s was expected\n", $errorcode;
+            printf "\ncurl returned $cmdres, %d was expected\n", $errorcode;
         }
         logmsg " exit FAILED\n";
         return 1;