diff --git a/pbx.c b/pbx.c index 11f2dea45345702514296e2671a6f405b0fedc59..02acc3ded447395ef05ad629f10fbbcb0985b9ec 100755 --- a/pbx.c +++ b/pbx.c @@ -2589,7 +2589,7 @@ static int handle_show_dialplan(int fd, int argc, char *argv[]) exten = strsep(&splitter, "@"); context = splitter; - /* check for length and change to NULL if !strlen() */ + /* check for length and change to NULL if ast_strlen_zero() */ if (ast_strlen_zero(exten)) exten = NULL; if (ast_strlen_zero(context)) context = NULL; } else