mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fixes for ast_strlen_zero() janitor project.
Issue 9968, patch by eliel. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3746,7 +3746,7 @@ static int manager_show_dialplan(struct mansession *s, const struct message *m)
|
||||
/* Variables used for different counters */
|
||||
struct dialplan_counters counters;
|
||||
|
||||
if (id && !ast_strlen_zero(id))
|
||||
if (!ast_strlen_zero(id))
|
||||
snprintf(idtext, sizeof(idtext), "ActionID: %s\r\n", id);
|
||||
else
|
||||
idtext[0] = '\0';
|
||||
|
Reference in New Issue
Block a user