From 5516be1fed10ac87848668964c495266d02ae915 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Aug 2007 18:37:41 +0000 Subject: spaces around else for rtm --- umalloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'umalloc.c') diff --git a/umalloc.c b/umalloc.c index ca31aa7..afc86a5 100644 --- a/umalloc.c +++ b/umalloc.c @@ -33,12 +33,12 @@ free(void *ap) if(bp + bp->s.size == p->s.ptr){ bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; - }else + } else bp->s.ptr = p->s.ptr; if(p + p->s.size == bp){ p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; - }else + } else p->s.ptr = bp; freep = p; } @@ -75,7 +75,7 @@ malloc(uint nbytes) if(p->s.size >= nunits){ if(p->s.size == nunits) prevp->s.ptr = p->s.ptr; - else{ + else { p->s.size -= nunits; p += p->s.size; p->s.size = nunits; -- cgit v1.2.3