]> git.pld-linux.org Git - packages/serf.git/blame - bio-ctrl.patch
- updated Source URL
[packages/serf.git] / bio-ctrl.patch
CommitLineData
1e0cf3bd
JP
1diff --git a/buckets/ssl_buckets.c b/buckets/ssl_buckets.c
2index b01e5359db08..3c8b7e2a685f 100644
3--- a/buckets/ssl_buckets.c
4+++ b/buckets/ssl_buckets.c
5@@ -407,7 +407,7 @@ static int bio_bucket_destroy(BIO *bio)
6
7 static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr)
8 {
9- long ret = 1;
10+ long ret = 0;
11
12 switch (cmd) {
13 default:
14@@ -415,6 +415,7 @@ static long bio_bucket_ctrl(BIO *bio, int cmd, long num, void *ptr)
15 break;
16 case BIO_CTRL_FLUSH:
17 /* At this point we can't force a flush. */
18+ ret = 1;
19 break;
20 case BIO_CTRL_PUSH:
21 case BIO_CTRL_POP:
This page took 0.128849 seconds and 4 git commands to generate.