[svn-commits] trunk - r7901 /trunk/funcs/func_md5.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Jan 9 12:29:04 CST 2006
Author: russell
Date: Mon Jan 9 12:29:03 2006
New Revision: 7901
URL: http://svn.digium.com/view/asterisk?rev=7901&view=rev
Log:
remove unnecessary check before ast_strlen_zero (issue #6179)
Modified:
trunk/funcs/func_md5.c
Modified: trunk/funcs/func_md5.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_md5.c?rev=7901&r1=7900&r2=7901&view=diff
==============================================================================
--- trunk/funcs/func_md5.c (original)
+++ trunk/funcs/func_md5.c Mon Jan 9 12:29:03 2006
@@ -60,7 +60,7 @@
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;
}
More information about the svn-commits
mailing list