]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3639 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 26 Oct 2011 13:45:04 +0000 (08:45 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 26 Oct 2011 13:45:04 +0000 (08:45 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 938bbc07e94708b10575588fce5a9098a9664925..cba2828376f9d1967b4ccbfede8fca0abb8fa124 100644 (file)
@@ -6001,7 +6001,7 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
        switch_cache_db_test_reactive(dbh, test_sql, "DROP TABLE sip_subscriptions", sub_sql);
 
        free(test_sql);
-       test_sql = switch_mprintf("delete from sip_dialogs where hostname='%q' and (expires <> -9999 or rpid='' or sip_from_tag='' || rcd > 0)",
+       test_sql = switch_mprintf("delete from sip_dialogs where hostname='%q' and (expires <> -9999 or rpid='' or sip_from_tag='' or rcd > 0)",
                                                          mod_sofia_globals.hostname);