1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

made the non-matching error code output nicer since we know it is a number

and the string contains a newline...
This commit is contained in:
Daniel Stenberg 2008-02-20 12:14:31 +00:00
parent b60dbfa9e9
commit 2c80bcbc81

View File

@ -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;