diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -351,7 +351,7 @@ main (int argc, char **argv) if (!config.stathost) { log_message (LOG_INFO, "Setting stathost to \"%s\".", TINYPROXY_STATHOST); - config.stathost = TINYPROXY_STATHOST; + config.stathost = strdup (TINYPROXY_STATHOST); } if (!config.user) { |