NULL byte removed form dcb_printf

This commit is contained in:
Massimiliano Pinto
2013-07-08 12:23:53 +02:00
parent 15ef1e072f
commit eea82c99cf

View File

@ -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);
}