mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
remove unnecessary check before ast_strlen_zero (issue #6179)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -60,7 +60,7 @@ static char *builtin_function_checkmd5(struct ast_channel *chan, char *cmd, char
|
||||
char *args;
|
||||
char newmd5[33];
|
||||
|
||||
if (!data || ast_strlen_zero(data)) {
|
||||
if (ast_strlen_zero(data)) {
|
||||
ast_log(LOG_WARNING, "Syntax: CHECK_MD5(<digest>,<data>) - missing argument!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user