aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c
index 3e9e1a306..54977fbf4 100644
--- a/lib/telnet.c
+++ b/lib/telnet.c
@@ -80,12 +80,12 @@
do { \
x->subend = x->subpointer; \
CURL_SB_CLEAR(x); \
- } while(0)
+ } WHILE_FALSE
#define CURL_SB_ACCUM(x,c) \
do { \
if(x->subpointer < (x->subbuffer+sizeof x->subbuffer)) \
*x->subpointer++ = (c); \
- } while(0)
+ } WHILE_FALSE
#define CURL_SB_GET(x) ((*x->subpointer++)&0xff)
#define CURL_SB_PEEK(x) ((*x->subpointer)&0xff)