undef PUTSHORT to avoid conflict
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10710 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2286,6 +2286,7 @@ sendnaws()
|
|||||||
if (my_state_is_wont(TELOPT_NAWS))
|
if (my_state_is_wont(TELOPT_NAWS))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#undef PUTSHORT
|
||||||
#define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \
|
#define PUTSHORT(cp, x) { if ((*cp++ = ((x)>>8)&0xff) == IAC) *cp++ = IAC; \
|
||||||
if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; }
|
if ((*cp++ = ((x))&0xff) == IAC) *cp++ = IAC; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user