This is more in-line with what the function does, and how it acts, so
it makes sense.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83928
13f79535-47bb-0310-9956-
ffa450edef68
/* Get a noncommented line */
do {
- if (ap_gets(map, buffer, MAX_STRING_LEN) != APR_SUCCESS) {
+ if (ap_fgets(map, buffer, MAX_STRING_LEN) != APR_SUCCESS) {
return header_eof;
}
} while (buffer[0] == '#');
static void *cfg_getstr(void *buf, size_t bufsiz, void *param)
{
ap_file_t *cfp = (ap_file_t *) param;
- if (ap_gets(cfp, buf, bufsiz) == APR_SUCCESS)
+ if (ap_fgets(cfp, buf, bufsiz) == APR_SUCCESS)
return buf;
return NULL;
}