mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
fix for FSCORE-40
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
d3aa5b433b
commit
f1222ba2fd
14 files changed
+48
-30
No files matched your search
@@ -327,12 +327,12 @@ static xmlrpc_value *freeswitch_man(xmlrpc_env * const envP, xmlrpc_value * cons
|
||||
if (action) {
|
||||
if (switch_core_management_exec(relative_oid, action, buf, sizeof(buf)) == SWITCH_STATUS_SUCCESS) {
|
||||
if (action == SMA_SET) {
|
||||
if (switch_strlen_zero(buf)) {
|
||||
if (*buf != '\0') {
|
||||
snprintf(buf, sizeof(buf), "OK\n");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (switch_strlen_zero(buf)) {
|
||||
if (*buf != '\0') {
|
||||
snprintf(buf, sizeof(buf), "ERROR\n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user