diff options
| author | Yang Tse <yangsita@gmail.com> | 2011-11-25 14:30:53 +0100 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2011-11-25 14:30:53 +0100 | 
| commit | 703fa0a6a8b8a8890b05292a0a07956c4f502e91 (patch) | |
| tree | 342a71eac895bd9e2132f8022e4c317e2caaf8f3 /lib | |
| parent | 97d7a9260e4f2f335b3632180877c25e0efdc8e3 (diff) | |
telnet.c: fix MSVC compiler warning
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/telnet.c | 4 | 
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) | 
