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/logmsg.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/logmsg.c')
-rw-r--r-- | usr.bin/cvs/logmsg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/logmsg.c b/usr.bin/cvs/logmsg.c index 20c4c91b28e..8ea8a86a44d 100644 --- a/usr.bin/cvs/logmsg.c +++ b/usr.bin/cvs/logmsg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logmsg.c,v 1.41 2007/05/11 02:43:24 ray Exp $ */ +/* $OpenBSD: logmsg.c,v 1.42 2007/08/30 11:07:18 joris Exp $ */ /* * Copyright (c) 2007 Joris Vink <joris@openbsd.org> * @@ -69,8 +69,6 @@ cvs_logmsg_read(const char *path) } len = strlen(buf); - if (len == 0) - continue; if (!strncmp(buf, CVS_LOGMSG_PREFIX, strlen(CVS_LOGMSG_PREFIX))) |