diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 02:03:29 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-30 02:03:29 +0000 |
commit | eba90c397238078d4145046f9f6056ced60b52a2 (patch) | |
tree | 066c330f8d693daf3ac9fd783129c19fb2049af8 /usr.bin/cvs/release.c | |
parent | 0a6f2c57253516d05a4ecc720d8b82cc8f25697a (diff) |
major cleanup of the functions handling the remote cvs protocol.
makes the code a lot more readable and understandable.
ok xsa@ and niallo@
Diffstat (limited to 'usr.bin/cvs/release.c')
-rw-r--r-- | usr.bin/cvs/release.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/release.c b/usr.bin/cvs/release.c index 9c419ba3d1a..d75447f8ec7 100644 --- a/usr.bin/cvs/release.c +++ b/usr.bin/cvs/release.c @@ -1,4 +1,4 @@ -/* $OpenBSD: release.c,v 1.25 2005/12/24 19:07:52 xsa Exp $ */ +/* $OpenBSD: release.c,v 1.26 2005/12/30 02:03:28 joris Exp $ */ /* * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -95,8 +95,8 @@ static int cvs_release_pre_exec(struct cvsroot *root) { if (root->cr_method != CVS_METHOD_LOCAL) { - if (dflag && cvs_sendarg(root, "-d", 0) < 0) - return (CVS_EX_PROTO); + if (dflag) + cvs_sendarg(root, "-d", 0); } return (0); |