summaryrefslogtreecommitdiff
path: root/strings/apr_cpystrn.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-05-17 11:18:58 +0000
committerJeff Trawick <trawick@apache.org>2002-05-17 11:18:58 +0000
commit715d88f66418bb02d6720d3f12de48a38965ca0d (patch)
tree8d567317039bc1ac854b14761a1074ea02ffe706 /strings/apr_cpystrn.c
parent6997e425f8ada2c1974bdbae0baaaeff8e8f0ccf (diff)
downloadapr-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.c5
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);