]> granicus.if.org Git - curl/commitdiff
add more info to the log to ease debugging
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 May 2005 23:13:24 +0000 (23:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 May 2005 23:13:24 +0000 (23:13 +0000)
tests/ftpserver.pl

index abc0f74c87bf3af16ba8e16dc4c9e436cd50a1b3..6124dd78ffa1fac15a82568ebb418343f6852c66 100644 (file)
@@ -142,9 +142,11 @@ startsf();
 
 logmsg sprintf("FTP server started on port IPv%d/$port\n", $ipv6?6:4);
 open(PID, ">$pidfile");
-print PID $$;
+print PID $$."\n";
 close(PID);
 
+logmsg("logged pid $$ in $pidfile\n");
+
 sub sockfilt {
     my $l;
     foreach $l (@_) {