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/utils.c | |
parent | a66aae880c04355eac54f27fdb4c3e2a993e5f6e (diff) |
Changed all calls to strdup to safestrdup. This should provide better
memory usage tracking.
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index ebaef19..aa5eed0 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,4 +1,4 @@ -/* $Id: utils.c,v 1.27 2002-04-18 17:49:14 rjkaes Exp $ +/* $Id: utils.c,v 1.28 2002-04-18 17:59:21 rjkaes Exp $ * * Misc. routines which are used by the various functions to handle strings * and memory allocation and pretty much anything else we can think of. Also, @@ -198,7 +198,7 @@ send_http_error_message(struct conn_s *connptr) int indicate_http_error(struct conn_s* connptr, int number, const char* string) { - connptr->error_string = strdup(string); + connptr->error_string = safestrdup(string); if (!connptr->error_string) return -1; connptr->error_number = number; |