manoj 99/10/26 13:43:52
Modified: src/main buff.c
Log:
Fix some (probably) inconsequential mistakes in ap_bsetopt.
Revision Changes Path
1.16 +2 -2 apache-2.0/src/main/buff.c
Index: buff.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/buff.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -u -r1.15 -r1.16
--- buff.c 1999/10/26 06:15:59 1.15
+++ buff.c 1999/10/26 20:43:46 1.16
@@ -197,12 +197,12 @@
ap_register_cleanup(fb->pool, fb, bcleanup, bcleanup);
}
-API_EXPORT(int) ap_bsetopt(BUFF *fb, int optname, const void *optval)
+API_EXPORT(ap_status_t) ap_bsetopt(BUFF *fb, int optname, const void *optval)
{
switch (optname) {
case BO_BYTECT:
fb->bytes_sent = *(const long int *) optval - (long int) fb->outcnt;
- return 0;
+ return APR_SUCCESS;
case BO_TIMEOUT:
fb->flags &= ~B_NONBLOCK;