]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix pointer thing contd
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 3 Jul 2008 17:39:25 +0000 (17:39 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 3 Jul 2008 17:39:25 +0000 (17:39 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8892 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml.cpp

index 94e49ba59b0cdb095938e06095a0be1868d2eb37..1280733d6a23d31411c45e810765c09de5603555 100644 (file)
@@ -1546,7 +1546,7 @@ static char *switch_xml_ampencode(const char *s, switch_size_t len, char **dst,
        const char *e = NULL;
        int immune = 0;
 
-       if (!s && *s) return *dst;      
+       if (!(s && *s)) return *dst;    
 
        if (len) {
                e = s + len;