diff options
author | Michael Adam <obnox@samba.org> | 2009-12-06 01:27:13 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-12-06 01:55:53 +0100 |
commit | 5e399a7e17bb8d719005f18d8d77f62993c6de7d (patch) | |
tree | b51a3a06445dd2d0a5f315ee93bfef6f806a70d3 | |
parent | 0480185d07649aa063210e1c50ca4da884bc11e9 (diff) | |
download | tinyproxy-5e399a7e17bb8d719005f18d8d77f62993c6de7d.tar.gz tinyproxy-5e399a7e17bb8d719005f18d8d77f62993c6de7d.zip |
main: use safestrdup instead of strdup in process_cmdline
Michael
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |