Make improvements

This commit is contained in:
Justine Tunney 2020-12-01 03:43:40 -08:00
parent 3e4fd4b0ad
commit e44a0cf6f8
256 changed files with 23100 additions and 2294 deletions

View file

@ -44,9 +44,10 @@
* @see hoststxtsort() which is the logical next step
*/
int parsehoststxt(struct HostsTxt *ht, FILE *f) {
int rc = 0;
int rc;
char *line;
size_t linesize;
rc = 0;
line = NULL;
linesize = 0;
while ((getline(&line, &linesize, f)) != -1) {