diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-17 11:18:58 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2002-05-17 11:18:58 +0000 |
commit | 3cd5bdfb119baee8abad8862296d67b221bd36b6 (patch) | |
tree | 8d567317039bc1ac854b14761a1074ea02ffe706 /strings | |
parent | 4b6fda9bbc2c788349b53ac1228effb662ca5c02 (diff) | |
download | libapr-3cd5bdfb119baee8abad8862296d67b221bd36b6.tar.gz |
axe a commented-out call to Apache's logging routine
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63405 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r-- | strings/apr_cpystrn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/strings/apr_cpystrn.c b/strings/apr_cpystrn.c index aba64ef09..567d43b4c 100644 --- a/strings/apr_cpystrn.c +++ b/strings/apr_cpystrn.c @@ -244,11 +244,6 @@ char *strdup(const char *str) size_t len = strlen(str) + 1; if (!(sdup = (char *) malloc(len))) { - /* ### whoops! we can't call Apache logging routines here... */ -#if 0 - apr_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, - "Ouch! Out of memory in our strdup()!"); -#endif return NULL; } memcpy(sdup, str, len); |