diff options
author | Jeff Trawick <trawick@apache.org> | 2002-05-17 11:18:58 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2002-05-17 11:18:58 +0000 |
commit | 715d88f66418bb02d6720d3f12de48a38965ca0d (patch) | |
tree | 8d567317039bc1ac854b14761a1074ea02ffe706 /strings/apr_cpystrn.c | |
parent | 6997e425f8ada2c1974bdbae0baaaeff8e8f0ccf (diff) | |
download | apr-715d88f66418bb02d6720d3f12de48a38965ca0d.tar.gz |
axe a commented-out call to Apache's logging routine
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63405 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings/apr_cpystrn.c')
-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); |