diff options
author | rsc <devnull@localhost> | 2005-02-21 04:28:34 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-21 04:28:34 +0000 |
commit | 5db61d6221fc96c9734f96846193bfc66eee2d8f (patch) | |
tree | 3a217f6ea8a865f906e6b1aab2264d56638d5e44 /src/cmd/vac | |
parent | d24aad8fd74f6b3fb6fab8eb9ee4e4cf0d6a3a40 (diff) | |
download | plan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.tar.gz plan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.tar.bz2 plan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.zip |
syntactically correct c code always a plus
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/vac.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |