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

verifyserver() actually returns the pid of the unsecure http and ftp servers

when verifying the https and ftps servers
This commit is contained in:
Yang Tse 2008-02-13 06:06:57 +00:00
parent 6634e3c3a3
commit cf9259dd92

View File

@ -911,7 +911,7 @@ sub runhttpsserver {
$doesntrun{$pidfile} = 1; $doesntrun{$pidfile} = 1;
return (0,0); return (0,0);
} }
$pid2 = $pid3; # Here pid3 is actually the pid returned by the unsecure-http server.
if($verbose) { if($verbose) {
logmsg "RUN: HTTPS server is now running PID $httpspid\n"; logmsg "RUN: HTTPS server is now running PID $httpspid\n";
@ -1053,7 +1053,7 @@ sub runftpsserver {
$doesntrun{$pidfile} = 1; $doesntrun{$pidfile} = 1;
return (0,0); return (0,0);
} }
$pid2 = $pid3; # Here pid3 is actually the pid returned by the unsecure-ftp server.
if($verbose) { if($verbose) {
logmsg "RUN: FTPS server is now running PID $ftpspid\n"; logmsg "RUN: FTPS server is now running PID $ftpspid\n";