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
1 changed files with 1 additions and 1 deletions

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;