aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c
index 1596959ed..026654e86 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -1704,7 +1704,7 @@ static void ast_remotecontrol(char * data)
for(;;) {
ebuf = (char *)el_gets(el, &num);
- if (ebuf && !ast_strlen_zero(ebuf)) {
+ if (!ast_strlen_zero(ebuf)) {
if (ebuf[strlen(ebuf)-1] == '\n')
ebuf[strlen(ebuf)-1] = '\0';
if (!remoteconsolehandler(ebuf)) {