]> granicus.if.org Git - curl/commitdiff
display listening port in log
authorDaniel Stenberg <daniel@haxx.se>
Wed, 27 Apr 2005 12:27:23 +0000 (12:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 Apr 2005 12:27:23 +0000 (12:27 +0000)
tests/server/sws.c

index ff24dfe83d811c24dfc846f576693a5200cf9657..3000579f22f3194738c7af2515426907310e4c01 100644 (file)
@@ -843,13 +843,13 @@ int main(int argc, char *argv[])
   else
     fprintf(stderr, "Couldn't write pid file\n");
 
-  logmsg("Running IPv%d version",
+  logmsg("Running IPv%d version on port %d",
 #ifdef ENABLE_IPV6
          (use_ipv6?6:4)
 #else
          4
 #endif
-    );
+        , port );
 
   /* start accepting connections */
   listen(sock, 5);