diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:59:21 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:59:21 +0000 |
commit | 9a8d732a133670e8944bff0b8aabaa3d6606b72a (patch) | |
tree | 8c5ce3efffbd1bba1dd26302751d96fea73c823d /src/tinyproxy.c | |
parent | a66aae880c04355eac54f27fdb4c3e2a993e5f6e (diff) | |
download | tinyproxy-9a8d732a133670e8944bff0b8aabaa3d6606b72a.tar.gz tinyproxy-9a8d732a133670e8944bff0b8aabaa3d6606b72a.zip |
Changed all calls to strdup to safestrdup. This should provide better
memory usage tracking.
Diffstat (limited to '')
-rw-r--r-- | src/tinyproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tinyproxy.c b/src/tinyproxy.c index 7968d76..cf778ff 100644 --- a/src/tinyproxy.c +++ b/src/tinyproxy.c @@ -1,4 +1,4 @@ -/* $Id: tinyproxy.c,v 1.26 2002-04-18 17:04:04 rjkaes Exp $ +/* $Id: tinyproxy.c,v 1.27 2002-04-18 17:59:21 rjkaes Exp $ * * The initialise routine. Basically sets up all the initial stuff (logfile, * listening socket, config options, etc.) and then sits there and loops @@ -173,7 +173,7 @@ main(int argc, char **argv) godaemon = FALSE; break; case 'c': - conf_file = strdup(optarg); + conf_file = safestrdup(optarg); if (!conf_file) { fprintf(stderr, "%s: Could not allocate memory.\n", |