trawick 02/05/17 04:18:58
Modified: strings apr_cpystrn.c
Log:
axe a commented-out call to Apache's logging routine
Revision Changes Path
1.12 +0 -5 apr/strings/apr_cpystrn.c
Index: apr_cpystrn.c
===================================================================
RCS file: /home/cvs/apr/strings/apr_cpystrn.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- apr_cpystrn.c 5 Apr 2002 19:46:43 -0000 1.11
+++ apr_cpystrn.c 17 May 2002 11:18:58 -0000 1.12
@@ -244,11 +244,6 @@
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);