summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-02-23 01:50:24 +0100
committerRyan Bloom <rbb@apache.org>2001-02-23 01:50:24 +0100
commit192cc6b8a5c87161c14112496e49d1a19b057584 (patch)
tree1212774002f3035f6e6bf7e1a028db318e1ce038 /modules
parentUse "Basic" authentication instead of "basic" in ab, as the spec says we (diff)
downloadapache2-192cc6b8a5c87161c14112496e49d1a19b057584.tar.xz
apache2-192cc6b8a5c87161c14112496e49d1a19b057584.zip
Namespace protect IOBUFSIZ since it is a public symbol.
Submitted by: Jon Travis <jtravis@covalent.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88282 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/generators/mod_autoindex.c4
-rw-r--r--modules/test/mod_autoindex.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index 600ade804a..8491a37626 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -911,7 +911,7 @@ static int ignore_entry(autoindex_config_rec *d, char *path)
*/
static void do_emit_plain(request_rec *r, apr_file_t *f)
{
- char buf[IOBUFSIZE + 1];
+ char buf[AP_IOBUFSIZE + 1];
int i, c, ch;
apr_size_t n;
apr_status_t stat;
@@ -919,7 +919,7 @@ static void do_emit_plain(request_rec *r, apr_file_t *f)
ap_rputs("<PRE>\n", r);
while (!apr_file_eof(f)) {
do {
- n = sizeof(char) * IOBUFSIZE;
+ n = sizeof(char) * AP_IOBUFSIZE;
stat = apr_file_read(f, buf, &n);
}
while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));
diff --git a/modules/test/mod_autoindex.c b/modules/test/mod_autoindex.c
index bc0be1ea14..fe601e814d 100644
--- a/modules/test/mod_autoindex.c
+++ b/modules/test/mod_autoindex.c
@@ -910,7 +910,7 @@ static int ignore_entry(autoindex_config_rec *d, char *path)
*/
static void do_emit_plain(request_rec *r, apr_file_t *f)
{
- char buf[IOBUFSIZE + 1];
+ char buf[AP_IOBUFSIZE + 1];
int i, c, ch;
apr_size_t n;
apr_status_t stat;
@@ -918,7 +918,7 @@ static void do_emit_plain(request_rec *r, apr_file_t *f)
ap_rputs("<PRE>\n", r);
while (!apr_file_eof(f)) {
do {
- n = sizeof(char) * IOBUFSIZE;
+ n = sizeof(char) * AP_IOBUFSIZE;
stat = apr_file_read(f, buf, &n);
}
while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));