Revision
16657
Author
mochouinard
Date
2010-02-15 19:41:00 -0600 (Mon, 15 Feb 2010)

Log Message

mod_sofia: Fix a ODBC DELETE Sql Query

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (16656 => 16657)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2010-02-16 01:06:35 UTC (rev 16656)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2010-02-16 01:41:00 UTC (rev 16657)
@@ -4542,7 +4542,7 @@
 		test_sql = switch_mprintf("delete from sip_registrations where (contact like '%%TCP%%' "
 								  "or status like '%%TCP%%' or status like '%%TLS%%') and hostname='%q' "
 								  "and network_ip like '%%' and network_port like '%%' and sip_username "
-								  "like '%%' and mwi_user like '%%' and mwi_host like '%%'"
+								  "like '%%' and mwi_user like '%%' and mwi_host like '%%' "
 								  "and orig_server_host like '%%' and orig_hostname like '%%'", 
 								  mod_sofia_globals.hostname);