From: Anthony Minessale Date: Wed, 9 Sep 2009 15:07:51 +0000 (+0000) Subject: FSCORE-429 X-Git-Tag: v1.0.6~1927 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6217925b8ba7c7d751ed2ab10fd2c75ee755215;p=thirdparty%2Ffreeswitch.git FSCORE-429 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14796 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index e136f8472b..4f5971510e 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -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 */