summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-06 09:41:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-06 09:41:54 +0000
commit416dc1e2bf0b1670cd0b3ad59f2dce79bbbb01f9 (patch)
treebc0343c778ecf54df77d1d6e896781c46252bab3 /usr.bin/rcs/rcsprog.c
parentf9eae3a7de1b02e3712bb420a14f5a0299aa524f (diff)
many spacing cleanups
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index b5ffb9c993e..59063a7d017 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.63 2006/02/21 16:39:23 niallo Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.64 2006/03/06 09:41:53 deraadt Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -80,7 +80,7 @@ rcs_set_rev(const char *str, RCSNUM **rev)
if ((*rev = rcsnum_parse(str)) == NULL)
fatal("bad revision number '%s'", str);
- /*
+ /*
* If 0 is specified as a revision number, exit and warn the user.
* This differs from GNU ci's plainly buggy behaviour, where 0 ends up
* being 0.1 and other weird stuff.
@@ -91,13 +91,12 @@ rcs_set_rev(const char *str, RCSNUM **rev)
rcsnum_free(t);
/*
* If 1 is specified as revision number, silently assume 1.1.
- * This is what GNU ci does.
+ * This is what GNU ci does.
*/
t = rcsnum_parse(RCS_HEAD_INIT);
if (rcsnum_cmp(*rev, t, 0) > 0)
- rcsnum_cpy(t, *rev, 0);
+ rcsnum_cpy(t, *rev, 0);
rcsnum_free(t);
-
}
/*