=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/proto.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- src/usr.bin/cvs/Attic/proto.c 2005/03/13 19:52:26 1.42 +++ src/usr.bin/cvs/Attic/proto.c 2005/03/13 19:56:14 1.43 @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.42 2005/03/13 19:52:26 joris Exp $ */ +/* $OpenBSD: proto.c,v 1.43 2005/03/13 19:56:14 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -736,7 +736,7 @@ if ((len = strlen(cvs_proto_buf)) != 0) { /* if len - 1 != '\n' the line is truncated */ - if (cvs_proto_buf[len - 1] == '\n') { + if (cvs_proto_buf[len - 1] == '\n') cvs_proto_buf[--len] = '\0'; }