diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 16:47:37 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 16:47:37 +0000 |
commit | 0b75fabf2a362c8d46c563c1727856429c95590b (patch) | |
tree | 7ce59558027d8b470075e06ebe1ad33d091b898f /usr.bin/cvs/req.c | |
parent | c652e17dc922f98dd69c8e12c38752bf5491bd30 (diff) |
more code cleanup, ok niallo@ and xsa@
Diffstat (limited to 'usr.bin/cvs/req.c')
-rw-r--r-- | usr.bin/cvs/req.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/req.c b/usr.bin/cvs/req.c index ea9237959c3..e1c3e4b41f6 100644 --- a/usr.bin/cvs/req.c +++ b/usr.bin/cvs/req.c @@ -1,4 +1,4 @@ -/* $OpenBSD: req.c,v 1.38 2005/12/24 19:07:52 xsa Exp $ */ +/* $OpenBSD: req.c,v 1.39 2005/12/30 16:47:36 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -266,8 +266,7 @@ cvs_req_directory(int reqid, char *line) pwd = (!strcmp(line, ".")); - if (cvs_getln(NULL, rdir, sizeof(rdir)) < 0) - return (-1); + cvs_getln(NULL, rdir, sizeof(rdir)); STRIP_SLASH(rdir); |