--- src/wwwsrv.c~ 2007-10-18 00:00:50 +0400 +++ src/wwwsrv.c 2009-07-21 11:18:26 +0400 @@ -104,8 +104,8 @@ data->port = port; data->busy_players = busy_players; data->max_players = max_players; - strncpy (data->password, password, URL_SIZE); - strncpy (data->comment, comment, URL_SIZE); + strncpy (data->password, password, PASSWORD_SIZE); + strncpy (data->comment, comment, COMMENT_SIZE); } /*------------------------------------------------------------------*/