mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:13:32 +03:00
runtests: fix warning about using an undefined variable
Follow-up from 4d939ef6ce
This commit is contained in:
parent
3f704083bf
commit
07778542b3
1 changed files with 2 additions and 2 deletions
|
|
@ -4122,10 +4122,10 @@ sub singletest {
|
|||
}
|
||||
}
|
||||
|
||||
if(($out[0] eq "") && $protstrip[0]) {
|
||||
if((!$out[0] || ($out[0] eq "")) && $protstrip[0]) {
|
||||
logmsg "\n $testnum: protocol FAILED!\n".
|
||||
" There was no content at all in the file $SERVERIN.\n".
|
||||
" Server glitch? Total curl failure?\n";
|
||||
" Server glitch? Total curl failure? Returned: $cmdres\n";
|
||||
return $errorreturncode;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue