]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Was causing a very small leak on naptr lookups. Upon review just happened to be a...
authorWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 00:50:50 +0000 (17:50 -0700)
committerWilliam King <william.king@quentustech.com>
Fri, 7 Jun 2013 06:54:42 +0000 (23:54 -0700)
src/mod/applications/mod_enum/mod_enum.c

index 9835fda46dca32debc263d445667654705084b68..37eedd4ecf375c40a3352e216e180438709ce06d 100644 (file)
@@ -312,7 +312,7 @@ static void parse_naptr(const ldns_rr *naptr, const char *number, enum_record_t
 
        char *regex, *replace;
        
-       if (zstr(str)) {
+       if (!zstr(str)) {
                return;
        }