mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
More return value fixes (Michael Kaminsky)
This commit is contained in:
parent
9fb10d4386
commit
9ae5008386
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir)
|
||||||
if(vd.mtime == dir->mtime)
|
if(vd.mtime == dir->mtime)
|
||||||
if(vd.size == dir->length)
|
if(vd.size == dir->length)
|
||||||
if(!vd.plan9 || /* vd.p9path == dir->qid.path && */ vd.p9version == dir->qid.vers)
|
if(!vd.plan9 || /* vd.p9path == dir->qid.path && */ vd.p9version == dir->qid.vers)
|
||||||
if(dirsinkwritefile(dsink, vf)) {
|
if(dirsinkwritefile(dsink, vf) >= 0) {
|
||||||
stats.sfile++;
|
stats.sfile++;
|
||||||
vdcleanup(&vd);
|
vdcleanup(&vd);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue