aboutsummaryrefslogtreecommitdiffstats
path: root/src/gnutls_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls_io.c')
-rw-r--r--src/gnutls_io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gnutls_io.c b/src/gnutls_io.c
index 6b0a15b..1cb14a3 100644
--- a/src/gnutls_io.c
+++ b/src/gnutls_io.c
@@ -28,9 +28,9 @@ apr_status_t mod_gnutls_filter_input(ap_filter_t * f,
28 apr_read_type_e block, 28 apr_read_type_e block,
29 apr_off_t readbytes) 29 apr_off_t readbytes)
30{ 30{
31 apr_bucket* b; 31 apr_bucket *b;
32 apr_status_t status = APR_SUCCESS; 32 apr_status_t status = APR_SUCCESS;
33 gnutls_handle_t *ctxt = (gnutls_handle_t *) f->ctx; 33 mod_gnutls_handle_t *ctxt = (mod_gnutls_handle_t *) f->ctx;
34 34
35 if (f->c->aborted) { 35 if (f->c->aborted) {
36 apr_bucket *bucket = apr_bucket_eos_create(f->c->bucket_alloc); 36 apr_bucket *bucket = apr_bucket_eos_create(f->c->bucket_alloc);
@@ -61,7 +61,7 @@ apr_status_t mod_gnutls_filter_output(ap_filter_t * f,
61 int ret, i; 61 int ret, i;
62 const char *buf = 0; 62 const char *buf = 0;
63 apr_size_t bytes = 0; 63 apr_size_t bytes = 0;
64 gnutls_handle_t *ctxt = (gnutls_handle_t *) f->ctx; 64 mod_gnutls_handle_t *ctxt = (mod_gnutls_handle_t *) f->ctx;
65 apr_status_t status = APR_SUCCESS; 65 apr_status_t status = APR_SUCCESS;
66 apr_read_type_e rblock = APR_NONBLOCK_READ; 66 apr_read_type_e rblock = APR_NONBLOCK_READ;
67 67
@@ -256,7 +256,7 @@ static apr_status_t brigade_consume(apr_bucket_brigade * bb,
256ssize_t mod_gnutls_transport_read(gnutls_transport_ptr_t ptr, 256ssize_t mod_gnutls_transport_read(gnutls_transport_ptr_t ptr,
257 void *buffer, size_t len) 257 void *buffer, size_t len)
258{ 258{
259 gnutls_handle_t *ctxt = ptr; 259 mod_gnutls_handle_t *ctxt = ptr;
260 apr_status_t rc; 260 apr_status_t rc;
261 apr_size_t in = len; 261 apr_size_t in = len;
262 /* If Len = 0, we don't do anything. */ 262 /* If Len = 0, we don't do anything. */
@@ -295,7 +295,7 @@ ssize_t mod_gnutls_transport_read(gnutls_transport_ptr_t ptr,
295ssize_t mod_gnutls_transport_write(gnutls_transport_ptr_t ptr, 295ssize_t mod_gnutls_transport_write(gnutls_transport_ptr_t ptr,
296 const void *buffer, size_t len) 296 const void *buffer, size_t len)
297{ 297{
298 gnutls_handle_t *ctxt = ptr; 298 mod_gnutls_handle_t *ctxt = ptr;
299 299
300// apr_bucket *bucket = apr_bucket_transient_create(in, inl, 300// apr_bucket *bucket = apr_bucket_transient_create(in, inl,
301// outctx->bb-> 301// outctx->bb->