=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/version.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/cvs/version.c 2004/07/13 22:02:40 1.1 --- src/usr.bin/cvs/version.c 2004/07/28 01:57:16 1.2 *************** *** 1,4 **** ! /* $OpenBSD: version.c,v 1.1 2004/07/13 22:02:40 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: version.c,v 1.2 2004/07/28 01:57:16 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 56,68 **** if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) ! if (cvs_client_connect() < 0) return (1); if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) { printf("Server: "); cvs_client_sendreq(CVS_REQ_VERSION, NULL, 1); ! cvs_client_disconnect(); } return (0); --- 56,68 ---- if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) ! if (cvs_client_connect(cvs_root) < 0) return (1); if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) { printf("Server: "); cvs_client_sendreq(CVS_REQ_VERSION, NULL, 1); ! cvs_client_disconnect(cvs_root); } return (0);