1
0
Эх сурвалжийг харах

Add the user agent to httpd start log line.

default 3 жил өмнө
parent
commit
bc417bb520
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      httpd.c

+ 1 - 1
httpd.c

@@ -267,7 +267,7 @@ void httpd(void)
     signal(SIGTERM, term_handler);
     signal(SIGTERM, term_handler);
     signal(SIGINT, term_handler);
     signal(SIGINT, term_handler);
 
 
-    srv_log(xs_fmt("httpd start %s:%d", address, port));
+    srv_log(xs_fmt("httpd start %s:%d %s", address, port, USER_AGENT));
 
 
     pthread_create(&htid, NULL, queue_thread, NULL);
     pthread_create(&htid, NULL, queue_thread, NULL);