]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
sigh
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Nov 2009 08:00:48 +0000 (08:00 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Nov 2009 08:00:48 +0000 (08:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15371 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index e0fe13fe3ce4ba545a9cb4a01c156050a8dd38a7..34a0d1aed1a8c3b78e9f846ac6f3e54b99b15661 100644 (file)
@@ -1628,7 +1628,7 @@ void sofia_presence_handle_sip_i_subscribe(int status,
                switch_snprintf(exp_delta_str, sizeof(exp_delta_str), "%ld", exp_delta);
                
                if (sofia_test_pflag(profile, PFLAG_MULTIREG)) {
-                       sql = switch_mprintf("delete from sip_subscriptions where call_id='%q' or (contact='%q' and and event='%q')", call_id, contact_str, event);
+                       sql = switch_mprintf("delete from sip_subscriptions where call_id='%q' or (contact='%q' and event='%q')", call_id, contact_str, event);
                } else {
                        sql = switch_mprintf("delete from sip_subscriptions where "
                                                                 "proto='%q' and sip_user='%q' and sip_host='%q' and sub_to_user='%q' and sub_to_host='%q' and event='%q' and hostname='%q'",