From: David Levine Date: Sun, 27 Jan 2013 14:37:31 +0000 (-0600) Subject: Fixed a couple of calls to m_getfld(): they were in while loops X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/453825192f539ea8ba77aa1d7ecc18e5183a4d57?hp=-c Fixed a couple of calls to m_getfld(): they were in while loops and the loop bodies were missing brackets. --- 453825192f539ea8ba77aa1d7ecc18e5183a4d57 diff --git a/uip/forwsbr.c b/uip/forwsbr.c index 901e6328..cf043c40 100644 --- a/uip/forwsbr.c +++ b/uip/forwsbr.c @@ -107,9 +107,10 @@ build_form (char *form, char *digest, int *dat, char *from, char *to, fmt_appendcomp(i, name, msgbuf); } } - while (state == FLDPLUS) + while (state == FLDPLUS) { msg_count = sizeof msgbuf; state = m_getfld (&gstate, name, msgbuf, &msg_count, tmp); + } break; case LENERR: diff --git a/uip/msh.c b/uip/msh.c index ac1e34ae..a266f344 100644 --- a/uip/msh.c +++ b/uip/msh.c @@ -1027,9 +1027,10 @@ readid (int msgnum) else continue; } - while (state == FLDPLUS) + while (state == FLDPLUS) { bufsz = sizeof buf; state = m_getfld (&gstate, name, buf, &bufsz, zp); + } continue; default: