diff options
Diffstat (limited to 'usr.bin/cvs/edit.c')
-rw-r--r-- | usr.bin/cvs/edit.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/cvs/edit.c b/usr.bin/cvs/edit.c index 209f9170041..c885436f9bb 100644 --- a/usr.bin/cvs/edit.c +++ b/usr.bin/cvs/edit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.c,v 1.42 2008/01/31 10:15:05 tobias Exp $ */ +/* $OpenBSD: edit.c,v 1.43 2008/02/04 15:07:33 tobias Exp $ */ /* * Copyright (c) 2006, 2007 Xavier Santolaria <xsa@openbsd.org> * @@ -400,9 +400,8 @@ cvs_unedit_local(struct cvs_file *cf) timebuf[strcspn(timebuf, "\n")] = '\0'; (void)xasprintf(&entry, "/%s/%s/%s/%s/%s", - cf->file_name, rbuf, timebuf, - (cf->file_ent->ce_tag) ? cf->file_ent->ce_tag : "", - (cf->file_ent->ce_opts) ? cf->file_ent->ce_opts : ""); + cf->file_name, rbuf, timebuf, cf->file_ent->ce_opts ? : "", + cf->file_ent->ce_tag ? : ""); cvs_ent_add(entlist, entry); |