summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 90a13ca4372..4270243ebc9 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.71 2007/09/22 15:57:24 joris Exp $ */
+/* $OpenBSD: server.c,v 1.72 2007/09/22 16:01:22 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -701,16 +701,14 @@ cvs_server_update_entry(const char *resp, struct cvs_file *cf)
void
cvs_server_set_sticky(char *dir, char *tag)
{
- char fpath[MAXPATHLEN], tbuf[CVS_ENT_MAXLINELEN];
+ char fpath[MAXPATHLEN];
(void)xsnprintf(fpath, MAXPATHLEN, "%s/%s",
current_cvsroot->cr_dir, dir);
- (void)xsnprintf(tbuf, MAXPATHLEN, "T%s", tag);
-
cvs_server_send_response("Set-sticky %s", dir);
cvs_remote_output(fpath);
- cvs_remote_output(tbuf);
+ cvs_remote_output(tag);
}
void