[Freeswitch-svn] [commit] r7704 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Tue Feb 19 16:24:14 EST 2008
Author: mikej
Date: Tue Feb 19 16:24:13 2008
New Revision: 7704
Modified:
freeswitch/trunk/src/switch_apr.c
Log:
tweak
Modified: freeswitch/trunk/src/switch_apr.c
==============================================================================
--- freeswitch/trunk/src/switch_apr.c (original)
+++ freeswitch/trunk/src/switch_apr.c Tue Feb 19 16:24:13 2008
@@ -126,8 +126,8 @@
{
if (!dst) return NULL;
if (!src) {
- dst = NULL;
- return NULL;
+ *dst = '\0';
+ return dst;
}
return apr_cpystrn(dst, src, dst_size);
}
More information about the Freeswitch-svn
mailing list