[PATCH] Remove extra } in malloc_vsnprintf

Jason Evans jasone at canonware.com
Mon Mar 12 11:36:31 PDT 2012


On Mar 12, 2012, at 2:27 AM, mh+jemalloc at glandium.org wrote:
> From: Mike Hommey <mh at glandium.org>
> 
> ---
> src/util.c |    1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/src/util.c b/src/util.c
> index 7c4c0d4..7d658aa 100644
> --- a/src/util.c
> +++ b/src/util.c
> @@ -443,7 +443,6 @@ malloc_vsnprintf(char *str, size_t size, const char *format, va_list ap)
> 		tret = vsnprintf(buf, sizeof(buf), format, tap);
> 		assert(tret == ret);
> 		assert(memcmp(str, buf, ret + 1) == 0);
> -		}
> 	}

Fixed.  I have no idea how that slipped in…

Thanks,
Jason


More information about the jemalloc-discuss mailing list