git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3796
d0543943-73ff-0310-b7d9-
9358b9ac24b2
}
if (argc >= 2) {
- status = conf_api_dispatch(conference, stream, argc, argv, (const char *)buf, 1);
+ conf_api_dispatch(conference, stream, argc, argv, (const char *)buf, 1);
} else {
stream->write_function(stream, "Conference command, not specified.\nTry 'help'\n");
}
if (stream.data) {
if (switch_api_execute(acs->api_cmd, acs->arg, NULL, &stream) == SWITCH_STATUS_SUCCESS) {
-
+ if (!stream.data) {
+ stream.write_function(&stream, "Command returned no output!\n");
+ }
if (acs->bg) {
switch_event_t *event;