[commit] r5248 - freeswitch/trunk/src/mod/endpoints/mod_dingaling
Author: anthm Date: Sat Jun 2 08:51:49 2007 New Revision: 5248 Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Log: fix typo and small tweak to dingaling Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Sat Jun 2 08:51:49 2007 @@ -439,7 +439,7 @@ } if (f_host && (profile = switch_core_hash_find(globals.profile_hash, f_host))) { - if (to && (sql = switch_mprintf("select * from jabber_subscriptions where sub_to='%q'", to))) { + if (to && (sql = switch_mprintf("select * from jabber_subscriptions where sub_to='%q' and sub_from='%q'", to, from))) { mdl_execute_sql_callback(profile, profile->mutex, sql, sin_callback, profile); switch_safe_free(sql); } @@ -1599,7 +1599,7 @@ static switch_api_interface_t debug_api_interface = { /*.interface_name */ "dl_debug", - /*.desc */ "DingaLing Presence", + /*.desc */ "DingaLing Debug", /*.function */ dl_debug, /*.syntax */ "dl_debug [true|false]", /*.next */ NULL
participants (1)
-
Freeswitch SVN