[Freeswitch-dev] Always true if statement (sofia_presence.c:837 )
Hi, on sofia_presence.c:837, isn't it always be true? Bye, Patrick
Bug reports should go on jira.freeswitch.org On 11 February 2011 13:28, Patrick Plattes < patrick.plattes@niemann-frey.info> wrote:
Hi,
on sofia_presence.c:837, isn't it always be true?
Bye, Patrick
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
My line 837 is ",'%q','%q','%q',sip_presence.status,sip_presence.rpid,sip_presence.open_closed,'%q','%q'," If I assume you mean line 832 if ((sql = switch_mprintf("select distinct sip_subscriptions.proto,sip_subscriptions.sip_user,sip_subscriptions.sip_host," It'll be true if switch_mprintf() succeeds, false if it fails. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 2011-02-11, at 8:28 AM, Patrick Plattes wrote:
Hi,
on sofia_presence.c:837, isn't it always be true?
Bye, Patrick
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (3)
-
Mathieu Rene
-
Patrick Plattes
-
Steven Ayre