*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
This commit is contained in:
@@ -51,7 +51,7 @@ static void cut_file(FILE *file, char delim)
|
||||
unsigned int linenum = 0; /* keep these zero-based to be consistent */
|
||||
|
||||
/* go through every line in the file */
|
||||
while ((line = xmalloc_getline(file)) != NULL) {
|
||||
while ((line = xmalloc_fgetline(file)) != NULL) {
|
||||
|
||||
/* set up a list so we can keep track of what's been printed */
|
||||
char * printed = xzalloc(strlen(line) * sizeof(char));
|
||||
|
||||
Reference in New Issue
Block a user