diff options
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r-- | usr.bin/cvs/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 237bd6034f9..701ecefa7a7 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.81 2007/09/22 15:30:29 tobias Exp $ */ +/* $OpenBSD: client.c,v 1.82 2007/10/07 18:12:48 chl Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -413,7 +413,7 @@ cvs_client_senddir(const char *dir) if (tag != NULL || date != NULL) { char buf[128]; - if (tag != NULL && nb != NULL) { + if (tag != NULL && nb != 0) { if (strlcpy(buf, "N", sizeof(buf)) >= sizeof(buf)) fatal("cvs_client_senddir: truncation"); } else if (tag != NULL) { |