From 8fffed136d8f1236d2172c87b023bf4c0ce8c0ee Mon Sep 17 00:00:00 2001 From: Dash Shendy Date: Fri, 8 Jul 2011 23:30:33 +0200 Subject: Compilation Fixups Signed-off-by: Dash Shendy --- include/mod_gnutls.h.in | 5 +++++ src/gnutls_io.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/mod_gnutls.h.in b/include/mod_gnutls.h.in index 7d39a72..0b6c66c 100644 --- a/include/mod_gnutls.h.in +++ b/include/mod_gnutls.h.in @@ -145,6 +145,11 @@ typedef struct /** Functions in gnutls_io.c **/ +/** + * write_flush will flush data + */ +static ssize_t write_flush(mgs_handle_t * ctxt); + /** * mgs_filter_input will filter the input data * by decrypting it using GnuTLS and passes it cleartext. diff --git a/src/gnutls_io.c b/src/gnutls_io.c index a434eb5..debdf5a 100644 --- a/src/gnutls_io.c +++ b/src/gnutls_io.c @@ -561,7 +561,7 @@ apr_status_t mgs_filter_output(ap_filter_t * f, apr_bucket_brigade * bb) while (!APR_BRIGADE_EMPTY(bb)) { apr_bucket *bucket = APR_BRIGADE_FIRST(bb); - if (AP_BUCKET_IS_EOS(bucket)) { + if (APR_BUCKET_IS_EOS(bucket)) { return ap_pass_brigade(f->next, bb); } else if (APR_BUCKET_IS_FLUSH(bucket)) { /* Try Flush */ -- cgit