diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-13 17:06:53 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-13 17:06:53 +0000 |
commit | f2942528daa0f477327d9d3fb51c43d1de942512 (patch) | |
tree | a9fb3e6b0469ea54b0205568d362b41049fb3c96 /main | |
parent | 21b798818560140cfad7cb7bc02775c339c8a9f8 (diff) |
Fixes for ast_strlen_zero() janitor project.
Issue 9968, patch by eliel.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69081 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 730b31837..dbd12039a 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -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'; |