From eea82c99cff4a19b02a4ebe60ad6e57b89b2614f Mon Sep 17 00:00:00 2001 From: Massimiliano Pinto Date: Mon, 8 Jul 2013 12:23:53 +0200 Subject: [PATCH] NULL byte removed form dcb_printf --- core/dcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dcb.c b/core/dcb.c index 59d5aa7d0..b73ed6845 100644 --- a/core/dcb.c +++ b/core/dcb.c @@ -635,7 +635,7 @@ va_list args; vsnprintf(GWBUF_DATA(buf), 10240, fmt, args); va_end(args); - buf->end = GWBUF_DATA(buf) + strlen(GWBUF_DATA(buf)) + 1; + buf->end = GWBUF_DATA(buf) + strlen(GWBUF_DATA(buf)); dcb->func.write(dcb, buf); }