fix potential segfault in para_client
[paraslash.git] / server.c
index c2ede7aa92566337c8d5644d1913da5b247ff512..8c9b48a6e371e27bad84baaa482556a4fda45550 100644 (file)
--- a/server.c
+++ b/server.c
@@ -123,7 +123,7 @@ static int signal_pipe;
  * \param ll the log level
  * \param fmt the format string describing the log message
  */
-void para_log(int ll, char* fmt,...)
+void para_log(int ll, const char* fmt,...)
 {
        va_list argp;
        FILE *outfd;