remove agetline

This commit is contained in:
Evan Gates
2014-11-18 12:49:30 -08:00
committed by sin
parent cca0522872
commit 84b08427a1
14 changed files with 13 additions and 28 deletions

View File

@@ -51,7 +51,7 @@ cryptcheck(char *sumfile, int argc, char *argv[],
else if (!(cfp = fopen(sumfile, "r")))
eprintf("fopen %s:", sumfile);
while (agetline(&line, &bufsiz, cfp) != -1) {
while (getline(&line, &bufsiz, cfp) != -1) {
if (!(file = strstr(line, " "))) {
formatsucks++;
continue;