git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8662 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-26 16:09:08 +00:00
parent 1f59bb12cd
commit cce887c6cc
1 changed files with 12 additions and 14 deletions

View File

@ -274,7 +274,7 @@ static void actual_sofia_presence_mwi_event_handler(switch_event_t *event)
switch_safe_free(sql);
if (h.total) {
sql = switch_mprintf("select sip_user,sip_host,contact,'%q' from sip_registrations where sip_user='%q' and sip_host='%q'",
stream.data, user, host);
@ -289,8 +289,6 @@ static void actual_sofia_presence_mwi_event_handler(switch_event_t *event)
&h);
switch_safe_free(sql);
}
switch_safe_free(stream.data);