forked from Mirrors/freeswitch
MODAPP-407
This commit is contained in:
parent
4e44c977d7
commit
3f4ca2d3ac
@ -539,7 +539,10 @@ SWITCH_STANDARD_API(group_api_function)
|
||||
limit_execute_sql_callback(sql, group_callback, &cbt);
|
||||
switch_safe_free(sql);
|
||||
|
||||
*(buf + (strlen(buf) - 1)) = '\0';
|
||||
if (!zstr(buf)) {
|
||||
*(buf + (strlen(buf) - 1)) = '\0';
|
||||
}
|
||||
|
||||
stream->write_function(stream, "%s", buf);
|
||||
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user