From: Ryan Bloom Date: Mon, 4 Oct 1999 17:24:52 +0000 (+0000) Subject: Simple name change. the function ap_gets has been renamed to ap_fgets. X-Git-Tag: 1.3.10~311 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0223c420dc625f87fd2786e97b74513d81f9de0;p=thirdparty%2Fapache%2Fhttpd.git Simple name change. the function ap_gets has been renamed to ap_fgets. 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 --- diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index caa76ae4ec1..d2d75c5b312 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -644,7 +644,7 @@ static enum header_state get_header_line(char *buffer, int len, ap_file_t *map) /* 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] == '#'); diff --git a/server/util.c b/server/util.c index b2ca60e38bf..8bb2769a6f4 100644 --- a/server/util.c +++ b/server/util.c @@ -857,7 +857,7 @@ static int cfg_getch(void *param) 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; }