From 5db61d6221fc96c9734f96846193bfc66eee2d8f Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 21 Feb 2005 04:28:34 +0000 Subject: syntactically correct c code always a plus --- src/cmd/vac/vac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index fbb4a51b..01626ced 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -686,7 +686,7 @@ vacmerge(DirSink *dsink, char *lname, char *sname) VacDir dir; uvlong max; - if((p=strrchr(sname, '.') == nil || strcmp(p, ".vac") != 0) + if((p=strrchr(sname, '.')) == nil || strcmp(p, ".vac") != 0) return -1; d = nil; -- cgit v1.2.3