diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-09-14 16:32:09 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-09-14 16:32:09 +0000 |
commit | 1fcd182d81508267db65891073ead2bbc40b5437 (patch) | |
tree | 783792a017f4413089e05838b9f12d3efcb2343c /usr.bin | |
parent | 3b8e1818a711293338aed4a73402926a81be3743 (diff) |
knf
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index b4b1bee455f..1980580e6fa 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.120 2005/09/13 17:38:35 joris Exp $ */ +/* $OpenBSD: file.c,v 1.121 2005/09/14 16:32:08 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -602,10 +602,10 @@ cvs_file_loadinfo(char *path, int flags, int (*cb)(CVSFILE *, void *), if (cb == NULL) callit = 0; - if (cvs_cmdop == CVS_OP_SERVER && type != DT_DIR) + if ((cvs_cmdop == CVS_OP_SERVER) && (type != DT_DIR)) callit = 0; - if (root->cr_method == CVS_METHOD_LOCAL && type != DT_DIR) + if ((root->cr_method == CVS_METHOD_LOCAL) && (type != DT_DIR)) callit = 0; if (!(base->cf_flags & CVS_FILE_ONDISK)) |