[Freeswitch-trunk] [commit] r12645 - freeswitch/trunk/libs/esl

FreeSWITCH SVN mikej at freeswitch.org
Tue Mar 17 09:32:29 PDT 2009


Author: mikej
Date: Tue Mar 17 11:32:29 2009
New Revision: 12645

Log:
fix windows build error

Modified:
   freeswitch/trunk/libs/esl/fs_cli.c

Modified: freeswitch/trunk/libs/esl/fs_cli.c
==============================================================================
--- freeswitch/trunk/libs/esl/fs_cli.c	(original)
+++ freeswitch/trunk/libs/esl/fs_cli.c	Tue Mar 17 11:32:29 2009
@@ -239,11 +239,11 @@
 				}
 				
 				if (!known) {
+					char *foo;
 					printf("INCOMING DATA [%s]\n%s\n", type, handle->last_event->body ? handle->last_event->body : "");
-						char *foo;
-						esl_event_serialize(handle->last_event, &foo, ESL_FALSE);
-						printf("RECV EVENT\n%s\n", foo);
-						free(foo);
+					esl_event_serialize(handle->last_event, &foo, ESL_FALSE);
+					printf("RECV EVENT\n%s\n", foo);
+					free(foo);
 				}
 			}
 		}



More information about the Freeswitch-trunk mailing list