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
This commit is contained in:
parent
d2f73beb01
commit
f9d074d65c
|
@ -1413,7 +1413,7 @@ static int show_reg_callback_xml(void *pArg, int argc, char **argv, char **colum
|
||||||
char exp_buf[128] = "";
|
char exp_buf[128] = "";
|
||||||
switch_time_exp_t tm;
|
switch_time_exp_t tm;
|
||||||
const int buflen = 2048;
|
const int buflen = 2048;
|
||||||
char xmlbuf[buflen];
|
char xmlbuf[2048];
|
||||||
|
|
||||||
if (argv[6]) {
|
if (argv[6]) {
|
||||||
switch_time_t etime = atoi(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;
|
void *val;
|
||||||
const void *vvar;
|
const void *vvar;
|
||||||
const int buflen = 2096;
|
const int buflen = 2096;
|
||||||
char xmlbuf[buflen];
|
char xmlbuf[2096];
|
||||||
int c = 0;
|
int c = 0;
|
||||||
int ac = 0;
|
int ac = 0;
|
||||||
const char *header = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
|
const char *header = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";
|
||||||
|
|
Loading…
Reference in New Issue