=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/history.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/cvs/history.c 2004/07/30 01:49:23 1.3 --- src/usr.bin/cvs/history.c 2004/12/06 21:03:12 1.4 *************** *** 1,4 **** ! /* $OpenBSD: history.c,v 1.3 2004/07/30 01:49:23 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: history.c,v 1.4 2004/12/06 21:03:12 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 143,150 **** cvs_log(LP_ERR, "Only one report type allowed from: \"-Tcomxe\""); return (EX_USAGE); ! } ! else if (rep == 0) flags |= CVS_HF_O; /* use -o as default */ root = cvsroot_get("."); --- 143,149 ---- cvs_log(LP_ERR, "Only one report type allowed from: \"-Tcomxe\""); return (EX_USAGE); ! } else if (rep == 0) flags |= CVS_HF_O; /* use -o as default */ root = cvsroot_get("."); *************** *** 160,167 **** cvs_history_print(hent); } cvs_hist_close(hp); ! } ! else { if (flags & CVS_HF_C) cvs_sendarg(root, "-c", 0); --- 159,165 ---- cvs_history_print(hent); } cvs_hist_close(hp); ! } else { if (flags & CVS_HF_C) cvs_sendarg(root, "-c", 0);