[Freeswitch-svn] [commit] r13313 - freeswitch/trunk/src/mod/applications/mod_conference

FreeSWITCH SVN mikej at freeswitch.org
Thu May 14 15:33:17 PDT 2009


Author: mikej
Date: Thu May 14 17:33:17 2009
New Revision: 13313

Log:
MODAPP-219

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	Thu May 14 17:33:17 2009
@@ -4858,6 +4858,11 @@
 
 	conf_name = mydata;
 
+	/* eat all leading spaces on conference name, which can cause problems */
+	while (*conf_name == ' ') {
+		conf_name++;
+	}
+
 	/* is there a conference pin ? */
 	if ((dpin = strchr(conf_name, '+'))) {
 		*dpin++ = '\0';



More information about the Freeswitch-svn mailing list