Small improvements for string buffers

Small improvements an constants added in string buffers
This commit is contained in:
MassimilianoPinto
2015-08-24 11:38:24 +02:00
parent 6aa4a31c2e
commit 599e2fdc6c
4 changed files with 25 additions and 17 deletions

View File

@ -955,7 +955,7 @@ static int
blr_slave_send_maxscale_version(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave)
{
GWBUF *pkt;
char version[40];
char version[80] = "";
uint8_t *ptr;
int len, vers_len;
@ -1026,7 +1026,7 @@ static int
blr_slave_send_maxscale_variables(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave)
{
GWBUF *pkt;
char name[40];
char name[80];
char version[40];
uint8_t *ptr;
int len, vers_len, seqno = 2;