mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-04 14:38:35 +00:00
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 (!dst) return NULL;
|
||||||
if (!src) {
|
if (!src) {
|
||||||
dst = NULL;
|
*dst = '\0';
|
||||||
return NULL;
|
return dst;
|
||||||
}
|
}
|
||||||
return apr_cpystrn(dst, src, dst_size);
|
return apr_cpystrn(dst, src, dst_size);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user