From d6217925b8ba7c7d751ed2ab10fd2c75ee755215 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 9 Sep 2009 15:07:51 +0000 Subject: [PATCH] FSCORE-429 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14796 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */