tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7704 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b69f5addb2
commit
e1786743e6
|
@ -126,8 +126,8 @@ SWITCH_DECLARE(char *) switch_copy_string(char *dst, const char *src, switch_siz
|
|||
{
|
||||
if (!dst) return NULL;
|
||||
if (!src) {
|
||||
dst = NULL;
|
||||
return NULL;
|
||||
*dst = '\0';
|
||||
return dst;
|
||||
}
|
||||
return apr_cpystrn(dst, src, dst_size);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue