[Freeswitch-svn] [commit] r10908 - freeswitch/trunk/libs/esl/src

FreeSWITCH SVN mikej at freeswitch.org
Mon Dec 22 08:44:43 PST 2008


Author: mikej
Date: Mon Dec 22 11:44:43 2008
New Revision: 10908

Log:
windows build

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

Modified: freeswitch/trunk/libs/esl/src/esl.c
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl.c	(original)
+++ freeswitch/trunk/libs/esl/src/esl.c	Mon Dec 22 11:44:43 2008
@@ -738,7 +738,7 @@
 	}
 	
 	if (revent) {
-		const char *hval = esl_event_get_header(revent, "reply-text");
+		hval = esl_event_get_header(revent, "reply-text");
 
 		if (!esl_strlen_zero(hval)) {
 			strncpy(handle->last_reply, hval, sizeof(handle->last_reply));
@@ -750,12 +750,6 @@
 			const char *en;
 			esl_event_types_t et = ESL_EVENT_COMMAND;
 			char *body = strdup(revent->body);
-			char *beg;
-			char *hname, *hval;
-			char *col;
-			char *cl;
-			esl_ssize_t len;
-			char *c;
 			
 			esl_event_safe_destroy(&handle->last_ievent);
 



More information about the Freeswitch-svn mailing list