summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/proto.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-07-23 11:19:47 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-07-23 11:19:47 +0000
commit316e7b4ce9ddeaa9df048f14eb629be01439aa55 (patch)
treef4f74e1c0f91731e6481818a3caeac96f0c80c34 /usr.bin/cvs/proto.c
parent9cb789f35012b533e6bb67128d89a9154482620c (diff)
rewrite of the file code. the previous one was just
a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@
Diffstat (limited to 'usr.bin/cvs/proto.c')
-rw-r--r--usr.bin/cvs/proto.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/proto.c b/usr.bin/cvs/proto.c
index f08fffee75d..52c49df64d2 100644
--- a/usr.bin/cvs/proto.c
+++ b/usr.bin/cvs/proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: proto.c,v 1.63 2005/07/23 00:44:13 joris Exp $ */
+/* $OpenBSD: proto.c,v 1.64 2005/07/23 11:19:46 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -715,6 +715,7 @@ cvs_sendreq(struct cvsroot *root, u_int rid, const char *arg)
if (req->req_flags & CVS_REQF_RESP)
ret = cvs_getresp(root);
+ printf("cvs_sendreq returning %d\n", ret);
return (ret);
}
@@ -756,6 +757,7 @@ cvs_getresp(struct cvsroot *root)
}
ret = cvs_resp_handle(root, cvs_proto_buf);
+ printf("(%s) (%d)\n", cvs_proto_buf, ret);
nbcmd++;
} while (ret == 0);