Fixed internal test suite.

This commit is contained in:
Markus Makela
2015-09-29 16:36:12 +03:00
parent 96f76a1f2e
commit 638c2250c9
9 changed files with 29 additions and 48 deletions

View File

@ -70,10 +70,11 @@ int
test2()
{
GWBUF *buffer;
char len = 128;
unsigned int len = 128;
char query[129];
buffer = gwbuf_alloc(132);
/** Allocate space for the COM_QUERY header and payload */
buffer = gwbuf_alloc(5 + 128);
ss_info_dassert((buffer != NULL),"Buffer should not be null");
memset(query,';',128);