diff options
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 2 |
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)) { |