]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Simple name change. the function ap_gets has been renamed to ap_fgets.
authorRyan Bloom <rbb@apache.org>
Mon, 4 Oct 1999 17:24:52 +0000 (17:24 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 4 Oct 1999 17:24:52 +0000 (17:24 +0000)
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

modules/mappers/mod_negotiation.c
server/util.c

index caa76ae4ec118209dd19856a1962778eb7ea746c..d2d75c5b312c0572be224e89e5c5a59285a095ef 100644 (file)
@@ -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] == '#');
index b2ca60e38bf15a0ac86d6be6be4416cdf47ccbaa..8bb2769a6f437da6b46eaaccf5040c0786990b98 100644 (file)
@@ -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;
 }