From f9d074d65ccd91b1910b7c23a426fb0aeade32e9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 4 Dec 2008 19:38:15 +0000 Subject: [PATCH] MODENDP-158 xml status feature for mod_sofia does not compile under Windows git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10598 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/mod_sofia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 3408e8aba6..fcb5fa8c8d 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -1413,7 +1413,7 @@ static int show_reg_callback_xml(void *pArg, int argc, char **argv, char **colum 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 @@ static switch_status_t cmd_xml_status(char **argv, int argc, switch_stream_handl void *val; const void *vvar; const int buflen = 2096; - char xmlbuf[buflen]; + char xmlbuf[2096]; int c = 0; int ac = 0; const char *header = "";