summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/cvs/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 05a1d573be4..2c1bfa12d99 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.86 2008/04/24 19:13:56 tobias Exp $ */
+/* $OpenBSD: server.c,v 1.87 2008/05/06 10:37:30 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -480,7 +480,7 @@ cvs_server_argumentx(char *data)
int idx;
size_t len;
- if (server_argc < 0)
+ if (server_argc == 1)
fatal("Protocol Error: ArgumentX without previous argument");
idx = server_argc - 1;