1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Compare value instead of string pointer

Remove unused label
Remove unused var


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1157357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2011-08-13 09:14:33 +00:00
parent 84a104bb22
commit f19641462b
2 changed files with 1 additions and 4 deletions

View File

@@ -2684,7 +2684,7 @@ static const char *util_ldap_set_retries(cmd_parms *cmd,
}
st->retries = atoi(val);
if (val < 0) {
if (st->retries < 0) {
return "LDAPRetries must be >= 0";
}