mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 07:34:19 +00:00
change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
410b6ebd1f
commit
df7637f687
96 files changed
+1033
-1033
No files matched your search
@@ -464,7 +464,7 @@ static void *SWITCH_THREAD_FUNC console_thread(switch_thread_t *thread, void *ob
|
||||
line = el_gets(el, &count);
|
||||
|
||||
if (count > 1) {
|
||||
if (!switch_strlen_zero(line)) {
|
||||
if (!zstr(line)) {
|
||||
char *cmd = strdup(line);
|
||||
char *p;
|
||||
const LineInfo *lf = el_line(el);
|
||||
@@ -513,7 +513,7 @@ static int comp_callback(void *pArg, int argc, char **argv, char **columnNames)
|
||||
|
||||
switch_copy_string(h->last, target, sizeof(h->last));
|
||||
|
||||
if (!switch_strlen_zero(target)) {
|
||||
if (!zstr(target)) {
|
||||
if ((++h->hits % 4) == 0) {
|
||||
fprintf(h->out, "\n");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user