From 703fa0a6a8b8a8890b05292a0a07956c4f502e91 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 25 Nov 2011 14:30:53 +0100 Subject: telnet.c: fix MSVC compiler warning --- lib/telnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/telnet.c') 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) -- cgit v1.2.3