Fix PellesC warning.

pull/1/head
Gisle Vanem 19 years ago
parent ac9950c3eb
commit e2bdd6b5a6
  1. 3
      ares__read_line.c

@ -50,7 +50,7 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize)
if ((*buf)[len - 1] == '\n')
{
(*buf)[len - 1] = 0;
return ARES_SUCCESS;
break;
}
offset = len;
@ -61,4 +61,5 @@ int ares__read_line(FILE *fp, char **buf, int *bufsize)
*buf = newbuf;
*bufsize *= 2;
}
return ARES_SUCCESS;
}

Loading…
Cancel
Save