]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
typo
authorMichael Jerris <mike@jerris.com>
Tue, 17 Oct 2006 03:41:05 +0000 (03:41 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 17 Oct 2006 03:41:05 +0000 (03:41 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3068 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_event.c

index a93757772471bdf9a812d81d22226d52838e747b..dc3782aec1082532bdf050085861a6a7207f3070 100644 (file)
@@ -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) {