Skip to content
Snippets Groups Projects
Commit 455f75c9 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 10862cd1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment