From 5e399a7e17bb8d719005f18d8d77f62993c6de7d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 6 Dec 2009 01:27:13 +0100 Subject: main: use safestrdup instead of strdup in process_cmdline Michael --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3