summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2004-12-07 17:10:56 +0000
committertedu <tedu@openbsd.org>2004-12-07 17:10:56 +0000
commita176bc3ee0772f34303003a5d023d099e5458b4c (patch)
tree700dea46dcad9da741b27f39f1f6156607eff32f /usr.bin/cvs/server.c
parentavoid a crash when receiving either a Created, Updated, Update-existing (diff)
downloadwireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.tar.xz
wireguard-openbsd-a176bc3ee0772f34303003a5d023d099e5458b4c.zip
less whitespace, more pretty. ok jfb
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c25
1 files changed, 10 insertions, 15 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index f1a60d969d4..c475a12c595 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,16 +1,16 @@
-/* $OpenBSD: server.c,v 1.5 2004/08/02 17:35:37 jfb Exp $ */
+/* $OpenBSD: server.c,v 1.6 2004/12/07 17:10:56 tedu Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
- * All rights reserved.
+ * All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
* 2. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
+ * derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
@@ -21,7 +21,7 @@
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/types.h>
@@ -40,16 +40,12 @@
#include "proto.h"
-
/* argument vector built by the `Argument' and `Argumentx' requests */
char **cvs_args;
-u_int cvs_nbarg = 0;
-
+u_int cvs_nbarg = 0;
u_int cvs_utf8ok = 0;
u_int cvs_case = 0;
-
-
/*
* cvs_server()
*
@@ -61,7 +57,6 @@ u_int cvs_case = 0;
* cvs command. With this command, the cvs program starts listening on
* standard input for CVS protocol requests.
*/
-
int
cvs_server(int argc, char **argv)
{