diff options
author | 2006-05-30 22:25:24 +0000 | |
---|---|---|
committer | 2006-05-30 22:25:24 +0000 | |
commit | 8fadf3feab23cac4969dbfb8f87ecd4120fd30b7 (patch) | |
tree | a766bd30e4d01f3999df59b35cafa40b2d470c26 /usr.bin/cvs/diff.c | |
parent | Correctly calculate point-to-point nexthop address. The logic was badly twisted (diff) | |
download | wireguard-openbsd-8fadf3feab23cac4969dbfb8f87ecd4120fd30b7.tar.xz wireguard-openbsd-8fadf3feab23cac4969dbfb8f87ecd4120fd30b7.zip |
fix diff -rrevision usage
Diffstat (limited to 'usr.bin/cvs/diff.c')
-rw-r--r-- | usr.bin/cvs/diff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index 252b4990a1a..48b9befe6ef 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.98 2006/05/30 21:32:52 joris Exp $ */ +/* $OpenBSD: diff.c,v 1.99 2006/05/30 22:25:24 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -140,7 +140,8 @@ cvs_diff_local(struct cvs_file *cf) cvs_log(LP_ERR, "%s was removed, no comparison available", cf->file_path); return; - } else if (cf->file_status == FILE_UPTODATE && rev2 == NULL) { + } else if (cf->file_status == FILE_UPTODATE && rev1 == NULL && + rev2 == NULL) { return; } |