=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/resp.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- src/usr.bin/cvs/Attic/resp.c 2005/05/11 00:07:57 1.32 +++ src/usr.bin/cvs/Attic/resp.c 2005/05/12 17:32:16 1.33 @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.32 2005/05/11 00:07:57 joris Exp $ */ +/* $OpenBSD: resp.c,v 1.33 2005/05/12 17:32:16 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -307,6 +307,8 @@ static int cvs_resp_error(struct cvsroot *root, int type, char *line) { + if (line == NULL) + return (1); /* XXX - GNU cvs sends an empty error message * at the end of the diff command, even for successfull