return to DJB behavior...

on success return 1.
This commit is contained in:
Olaf Dreesen 2007-01-05 20:44:35 +00:00
parent 440b59d891
commit 59e251509b
1 changed files with 1 additions and 1 deletions

View File

@ -12,5 +12,5 @@ int openreadclose(const char *fn,stralloc *sa,size_t bufsize)
return -1;
}
if (readclose(fd,sa,bufsize) == -1) return -1;
return 0;
return 1;
}