Browse code

fix parentheses

git-svn: trunk@4571

Tomasz Kojm authored on 2008/12/18 23:24:43
Showing 1 changed files
... ...
@@ -322,7 +322,7 @@ static const struct clam_option {
322 322
 const struct optstruct *optget(const struct optstruct *opts, const char *name)
323 323
 {
324 324
     while(opts) {
325
-	if((opts->name && (!strcmp(opts->name, name)) || (opts->cmd && !strcmp(opts->cmd, name))))
325
+	if((opts->name && !strcmp(opts->name, name)) || (opts->cmd && !strcmp(opts->cmd, name)))
326 326
 	    return opts;
327 327
 	opts = opts->next;
328 328
     }
... ...
@@ -332,7 +332,7 @@ const struct optstruct *optget(const struct optstruct *opts, const char *name)
332 332
 static struct optstruct *optget_i(struct optstruct *opts, const char *name)
333 333
 {
334 334
     while(opts) {
335
-	if((opts->name && (!strcmp(opts->name, name)) || (opts->cmd && !strcmp(opts->cmd, name))))
335
+	if((opts->name && !strcmp(opts->name, name)) || (opts->cmd && !strcmp(opts->cmd, name)))
336 336
 	    return opts;
337 337
 	opts = opts->next;
338 338
     }