From adf6cb52193ec26e09f3d8878e0a238212b7370f Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Mon, 24 Oct 2011 09:42:54 -0500 Subject: [PATCH] FS-3633 --resolve fix trivial compiler error windows c89 --- src/mod/endpoints/mod_sofia/sofia_presence.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 7f34669e0e..c583411d4a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -1494,9 +1494,10 @@ static int sofia_dialog_probe_callback(void *pArg, int argc, char **argv, char * char remote_display_buf[512]; char *buf_to_free = NULL; int bInternal = 0; + int i; if (mod_sofia_globals.debug_presence > 1) { - for (int i = 0; i < argc; i++) { + for (i = 0; i < argc; i++) { switch_log_printf(SWITCH_CHANNEL_LOG,SWITCH_LOG_DEBUG, "sofia_dialog_probe_callback: %d [%s]=[%s]\n", i, columnNames[i], argv[i]); } }