[Freeswitch-svn] [commit] r11063 - freeswitch/trunk/src/mod/applications/mod_conference
FreeSWITCH SVN
brian at freeswitch.org
Sat Jan 3 10:24:45 PST 2009
Author: brian
Date: Sat Jan 3 13:24:45 2009
New Revision: 11063
Log:
shush compiler
Modified:
freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c Sat Jan 3 13:24:45 2009
@@ -3061,15 +3061,13 @@
switch_xml_t x_member = NULL, x_members = NULL, x_flags;
int moff = 0;
char i[30] = "";
-
+ char *ival = i;
switch_assert(conference != NULL);
switch_assert(x_conference != NULL);
switch_xml_set_attr_d(x_conference, "name", conference->name);
-
-
switch_snprintf(i, sizeof(i), "%d", conference->count);
- switch_xml_set_attr_d(x_conference, "member-count", i);
+ switch_xml_set_attr_d(x_conference, "member-count", ival);
if (switch_test_flag(conference, CFLAG_LOCKED)) {
switch_xml_set_attr_d(x_conference, "locked", "true");
More information about the Freeswitch-svn
mailing list