FSCORE-429

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14796 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-09-09 15:07:51 +00:00
parent f7775bab0a
commit d6217925b8

View File

@ -2117,7 +2117,7 @@ static const char *get_prefixed_str(char *buffer, size_t buffer_size, const char
{
size_t str_len;
if (switch_strlen_zero(buffer)) {
if (!buffer) {
/*
if buffer is null then it just returns the str without the prefix appended, otherwise buffer contains the prefix followed by the original string
*/