From 453825192f539ea8ba77aa1d7ecc18e5183a4d57 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 27 Jan 2013 08:37:31 -0600 Subject: [PATCH] Fixed a couple of calls to m_getfld(): they were in while loops and the loop bodies were missing brackets. --- uip/forwsbr.c | 3 ++- uip/msh.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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: -- 2.56.0