typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3068 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b01828b6a1
commit
782725241f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue