diff options
author | 2007-08-30 11:07:18 +0000 | |
---|---|---|
committer | 2007-08-30 11:07:18 +0000 | |
commit | f76ce13c60f59d192b6157c227860b4f49afd1b3 (patch) | |
tree | 41033abcab0fef5bc39a5edd67b05a4ee94f7095 /usr.bin/cvs/logmsg.c | |
parent | handle address ranges in skip step calculation (diff) | |
download | wireguard-openbsd-f76ce13c60f59d192b6157c227860b4f49afd1b3.tar.xz wireguard-openbsd-f76ce13c60f59d192b6157c227860b4f49afd1b3.zip |
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))) |