From 1c1720d37143ccb6a3a907dab320631476b302c6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 11 Jan 2012 12:34:57 -0600 Subject: [PATCH] fix typo --- src/mod/endpoints/mod_sofia/sofia_presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 42712f3d4b..2e23c1647a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -654,7 +654,7 @@ static void do_normal_probe(sofia_profile_t *profile, switch_event_t *event) "and sip_dialogs.sip_from_host = sip_registrations.sub_host) " "left join sip_presence on " - "(sip_registrations.sip_user=sip_presence.sip_user and sip_registrations.orig_server_host=sip_presence.sip_server and " + "(sip_registrations.sip_user=sip_presence.sip_user and sip_registrations.orig_server_host=sip_presence.sip_host and " "sip_registrations.profile_name=sip_presence.profile_name) " "where sip_dialogs.presence_id='%q@%q' or (sip_registrations.sip_user='%q' and " "(sip_registrations.orig_server_host='%q' or sip_registrations.sub_host='%q' "