mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10950 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -402,7 +402,7 @@ int main(int argc, char *argv[])
|
||||
} else {
|
||||
snprintf(cmd_str, sizeof(cmd_str), "api %s\n\n", cmd);
|
||||
esl_send_recv(&handle, cmd_str);
|
||||
if (handle.last_sr_event) {
|
||||
if (handle.last_sr_event && handle.last_sr_event->body) {
|
||||
printf("%s\n", handle.last_sr_event->body);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user