diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2007-08-30 11:07:19 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2007-08-30 11:07:19 +0000 |
commit | 7a688e4cd584d47e586508214a4d0a3616a75985 (patch) | |
tree | af3c8f5f3b878cdeb908ffabdce246850ba88dca /usr.bin/cvs/add.c | |
parent | aa66a08bbfd64707b79d6ffa67e315138fbb2881 (diff) |
properly send our log message to the server using Argumentx, so we
no longer break when the log message has multiple lines.
from Tobias Stoeckmann, thanks for doing my work!
Diffstat (limited to 'usr.bin/cvs/add.c')
-rw-r--r-- | usr.bin/cvs/add.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c index 242df4a0464..24a17c4a3c6 100644 --- a/usr.bin/cvs/add.c +++ b/usr.bin/cvs/add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: add.c,v 1.79 2007/08/29 09:32:13 joris Exp $ */ +/* $OpenBSD: add.c,v 1.80 2007/08/30 11:07:18 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -95,7 +95,7 @@ cvs_add(int argc, char **argv) cvs_client_send_request("Argument %s", kbuf); if (logmsg != NULL) - cvs_client_send_request("Argument -m%s", logmsg); + cvs_client_send_logmsg(logmsg); } else { cr.fileproc = cvs_add_local; } |