Revision
15371
Author
anthm
Date
2009-11-05 02:00:48 -0600 (Thu, 05 Nov 2009)

Log Message

sigh

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (15370 => 15371)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	2009-11-05 07:54:39 UTC (rev 15370)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	2009-11-05 08:00:48 UTC (rev 15371)
@@ -1628,7 +1628,7 @@
 		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'",