]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-429
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 9 Sep 2009 15:07:51 +0000 (15:07 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 9 Sep 2009 15:07:51 +0000 (15:07 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14796 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index e136f8472bff31decc6f789975ac7a3ae056c059..4f5971510ef0b9eedf73ed6a141c10914038c44e 100644 (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
                */