gstein 01/02/18 22:39:09
Modified: buckets apr_buckets_file.c
Log:
just some stylistic cleaning:
the "return" in the first block means we don't need an "else" branch. it
allows us to dedent the block and toss the final #if/#endif thang.
Revision Changes Path
1.33 +39 -43 apr-util/buckets/apr_buckets_file.c
Index: apr_buckets_file.c
===================================================================
RCS file: /home/cvs/apr-util/buckets/apr_buckets_file.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -u -r1.32 -r1.33
--- apr_buckets_file.c 2001/02/18 00:08:57 1.32
+++ apr_buckets_file.c 2001/02/19 06:39:08 1.33
@@ -131,7 +131,6 @@
file_destroy(s);
return apr_bucket_read(e, str, len, block);
}
- else {
#endif
buf = malloc(HUGE_STRING_LEN);
@@ -179,9 +178,6 @@
file_destroy(s);
}
-#if APR_HAS_MMAP
- }
-#endif
return APR_SUCCESS;
}