[Freeswitch-svn] [commit] r6333 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Mon Nov 19 11:44:57 EST 2007


Author: anthm
Date: Mon Nov 19 11:44:57 2007
New Revision: 6333

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c

Log:
missed one

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	Mon Nov 19 11:44:57 2007
@@ -364,7 +364,7 @@
 			}
 
 			if (euser && host &&
-				(sql = switch_mprintf("select user,host,status,rpid,'' from sip_registrations where sip_user='%q' and sip_host='%q'",
+				(sql = switch_mprintf("select sip_user,sip_host,status,rpid,'' from sip_registrations where sip_user='%q' and sip_host='%q'",
 									  euser, host)) && (profile = sofia_glue_find_profile(host))) {
 				
 				sofia_glue_execute_sql_callback(profile,



More information about the Freeswitch-svn mailing list