1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

show return code when run verbose

This commit is contained in:
Daniel Stenberg 2002-08-30 10:50:22 +00:00
parent bd3bb70ee8
commit 713cb56fea

View File

@ -621,7 +621,11 @@ sub singletest {
if($errorcode || $res) {
if($errorcode == $res) {
if(!$short) {
$errorcode =~ s/\n//;
if($verbose) {
print " received errorcode $errorcode OK";
}
elsif(!$short) {
print " error OK";
}
}