mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Changed an error message slightly so it can be caught easier by the
autobuild logs scanner.
This commit is contained in:
parent
36626c4b6e
commit
043070f90e
@ -139,16 +139,16 @@ sub sysread_or_die {
|
|||||||
logmsg "Failed to read input\n";
|
logmsg "Failed to read input\n";
|
||||||
logmsg "Error: ftp$ftpdnum$ext sysread error: $!\n";
|
logmsg "Error: ftp$ftpdnum$ext sysread error: $!\n";
|
||||||
kill(9, $sfpid);
|
kill(9, $sfpid);
|
||||||
die "Died in sysread_or_die() when called from $fcaller " .
|
die "Died in sysread_or_die() at $fcaller " .
|
||||||
"at line $lcaller. ftp$ftpdnum$ext sysread error: $!\n";
|
"line $lcaller. ftp$ftpdnum$ext sysread error: $!\n";
|
||||||
}
|
}
|
||||||
elsif($result == 0) {
|
elsif($result == 0) {
|
||||||
($fcaller, $lcaller) = (caller)[1,2];
|
($fcaller, $lcaller) = (caller)[1,2];
|
||||||
logmsg "Failed to read input\n";
|
logmsg "Failed to read input\n";
|
||||||
logmsg "Error: ftp$ftpdnum$ext read zero\n";
|
logmsg "Error: ftp$ftpdnum$ext read zero\n";
|
||||||
kill(9, $sfpid);
|
kill(9, $sfpid);
|
||||||
die "Died in sysread_or_die() when called from $fcaller " .
|
die "Died in sysread_or_die() at $fcaller " .
|
||||||
"at line $lcaller. ftp$ftpdnum$ext read zero\n";
|
"line $lcaller. ftp$ftpdnum$ext read zero\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
Loading…
Reference in New Issue
Block a user