Merged dcb_read and dcb_read_n into a single function (dcb_read with an extra parameter).

This commit is contained in:
counterpoint
2015-07-10 15:12:22 +01:00
parent 015cb890d4
commit 4f5de063eb
7 changed files with 52 additions and 196 deletions

View File

@ -143,7 +143,7 @@ SESSION *session = dcb->session;
MAXSCALED *maxscaled = (MAXSCALED *)dcb->protocol;
char *password;
if ((n = dcb_read(dcb, &head)) != -1)
if ((n = dcb_read(dcb, &head, 0)) != -1)
{
if (head)