[Freeswitch-svn] [commit] r10598 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mikej at freeswitch.org
Thu Dec 4 11:38:15 PST 2008


Author: mikej
Date: Thu Dec  4 14:38:15 2008
New Revision: 10598

Log:
MODENDP-158 xml status feature for mod_sofia does not compile under Windows

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Thu Dec  4 14:38:15 2008
@@ -1413,7 +1413,7 @@
 	char exp_buf[128] = "";
 	switch_time_exp_t tm;
   const int buflen = 2048;
-  char xmlbuf[buflen];
+  char xmlbuf[2048];
   
 	if (argv[6]) {
 		switch_time_t etime = atoi(argv[6]);
@@ -1630,7 +1630,7 @@
 	void *val;
 	const void *vvar;
 	const int buflen = 2096;
-	char xmlbuf[buflen];
+	char xmlbuf[2096];
 	int c = 0;
 	int ac = 0;
   const char *header = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";



More information about the Freeswitch-svn mailing list