summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-09-23 15:35:11 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-09-23 15:35:11 +0000
commiteeaf8fa26721f3f2ad35980f7ce9a090a912c05d (patch)
tree8895fd89fc01d9241525895a968066d1a2e5daf5
parent266f8243aaeefdb9fd63aaad2301ddddf85bf32c (diff)
print error messages when we receive the `error' response
-rw-r--r--usr.bin/cvs/resp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c
index 59135cccbfa..04afbf4bd4f 100644
--- a/usr.bin/cvs/resp.c
+++ b/usr.bin/cvs/resp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resp.c,v 1.6 2004/08/13 13:27:52 jfb Exp $ */
+/* $OpenBSD: resp.c,v 1.7 2004/09/23 15:35:10 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -308,6 +308,7 @@ cvs_resp_ok(struct cvsroot *root, int type, char *line)
static int
cvs_resp_error(struct cvsroot *root, int type, char *line)
{
+ fprintf(stderr, "%s\n", line);
return (1);
}