From 782725241fc77cde69df134ab457644170f1a6c3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 17 Oct 2006 03:41:05 +0000 Subject: [PATCH] typo git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3068 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_event.c b/src/switch_event.c index a937577724..dc3782aec1 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -604,7 +604,7 @@ SWITCH_DECLARE(switch_status_t) switch_event_serialize(switch_event_t *event, ch ret = vasprintf(&data, fmt, ap); #else data = (char *) malloc(2048); - return = vsnprintf(data, 2048, fmt, ap); + ret = vsnprintf(data, 2048, fmt, ap); #endif va_end(ap); if (ret == -1) {