summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index abf52f9..5967778 100644
--- a/src/main.c
+++ b/src/main.c
@@ -353,7 +353,7 @@ main (int argc, char **argv)
if (!config.stathost) {
log_message (LOG_INFO, "Setting stathost to \"%s\".",
TINYPROXY_STATHOST);
- config.stathost = strdup (TINYPROXY_STATHOST);
+ config.stathost = safestrdup (TINYPROXY_STATHOST);
}
if (!config.user) {