summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/file.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2005-10-07 21:47:32 +0000
committerreyk <reyk@openbsd.org>2005-10-07 21:47:32 +0000
commit4c06e5f6fe6880f7ad96ed56848b684d85ed5ecc (patch)
treeef1f060d6fbd6722a1bb7f53dd345f7eeb53a97a /usr.bin/cvs/file.c
parentgive an example email address - this is important as we need to show (diff)
downloadwireguard-openbsd-4c06e5f6fe6880f7ad96ed56848b684d85ed5ecc.tar.xz
wireguard-openbsd-4c06e5f6fe6880f7ad96ed56848b684d85ed5ecc.zip
knf and spacing, ok joris@
Diffstat (limited to 'usr.bin/cvs/file.c')
-rw-r--r--usr.bin/cvs/file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index 510eb88ed76..3e078e9d288 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.123 2005/09/15 22:12:23 joris Exp $ */
+/* $OpenBSD: file.c,v 1.124 2005/10/07 21:47:32 reyk Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -53,7 +53,7 @@
struct cvs_ignpat {
char ip_pat[MAXNAMLEN];
int ip_flags;
- TAILQ_ENTRY (cvs_ignpat) ip_list;
+ TAILQ_ENTRY(cvs_ignpat) ip_list;
};
@@ -287,7 +287,7 @@ cvs_file_create(CVSFILE *parent, const char *path, u_int type, mode_t mode)
if (((mkdir(path, mode) == -1) && (errno != EEXIST)) ||
(cvs_mkadmin(path, cfp->cf_root->cr_str, cfp->cf_repo,
- NULL, NULL, 0) < 0)) {
+ NULL, NULL, 0) < 0)) {
cvs_file_free(cfp);
return (NULL);
}
@@ -1314,7 +1314,7 @@ cvs_file_lget(const char *path, int flags, CVSFILE *parent, CVSENTRIES *pent,
* but does not exist anymore, start complaining.
*/
if (!(cfp->cf_flags & CVS_FILE_ONDISK) &&
- (cfp->cf_cvstat == CVS_FST_ADDED) &&
+ (cfp->cf_cvstat == CVS_FST_ADDED) &&
(cfp->cf_type != DT_DIR))
cvs_log(LP_WARN, "new-born %s has disappeared", path);