summaryrefslogtreecommitdiff
path: root/memory
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-07-13 21:38:02 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-07-13 21:38:02 +0000
commitff844e0e682487cd988bf1964ea046728feabf35 (patch)
tree0f998c48771f054494b94969f97a506aed14a0f6 /memory
parentbcb8e21ac8f62eae25e4503108f0cc2072f84fa1 (diff)
downloadlibapr-ff844e0e682487cd988bf1964ea046728feabf35.tar.gz
Detabbify previous commit... The offending party has been slapped on the
wrists by the style police. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63655 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'memory')
-rw-r--r--memory/unix/apr_pools.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/memory/unix/apr_pools.c b/memory/unix/apr_pools.c
index 91edc046e..d8b6dd4fd 100644
--- a/memory/unix/apr_pools.c
+++ b/memory/unix/apr_pools.c
@@ -926,7 +926,7 @@ static int psprintf_flush(apr_vformatter_buff_t *vbuff)
* in reusing a block that can't even hold the NUL byte.
*/
if (size < APR_PSPRINTF_MIN_STRINGSIZE)
- size = APR_PSPRINTF_MIN_STRINGSIZE;
+ size = APR_PSPRINTF_MIN_STRINGSIZE;
node = active->next;
if (!ps->got_a_new_node && node->first_avail + size < node->endp) {
@@ -1006,13 +1006,13 @@ APR_DECLARE(char *) apr_pvsprintf(apr_pool_t *pool, const char *fmt, va_list ap)
* room to hold the NUL terminator.
*/
if (ps.node->first_avail == ps.node->endp) {
- if (psprintf_flush(&ps.vbuff) == -1) {
- if (pool->abort_fn) {
- pool->abort_fn(APR_ENOMEM);
- }
+ if (psprintf_flush(&ps.vbuff) == -1) {
+ if (pool->abort_fn) {
+ pool->abort_fn(APR_ENOMEM);
+ }
- return NULL;
- }
+ return NULL;
+ }
}
if (apr_vformatter(psprintf_flush, &ps.vbuff, fmt, ap) == -1) {