From 9f024b5389802777bbf0dbd236efeb21baf6489d Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 21 May 2015 18:08:45 +0300 Subject: [PATCH] Added missing parenthesis. --- server/modules/protocol/mysql_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 0e85f51ed..ffd72c034 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -287,7 +287,7 @@ int gw_read_backend_handshake( pthread_self(), conn->owner_dcb->fd, pthread_self()))); - while(head = gwbuf_consume(head, GWBUF_LENGTH(head))); + while((head = gwbuf_consume(head, GWBUF_LENGTH(head)))); return 1; }