summaryrefslogtreecommitdiff
path: root/include/X11/ICE/ICEmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/ICE/ICEmsg.h')
-rw-r--r--include/X11/ICE/ICEmsg.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/X11/ICE/ICEmsg.h b/include/X11/ICE/ICEmsg.h
index f6e7121..9884466 100644
--- a/include/X11/ICE/ICEmsg.h
+++ b/include/X11/ICE/ICEmsg.h
@@ -214,16 +214,8 @@ extern IcePaAuthStatus _IcePaMagicCookie1Proc (
#define IceWritePad(_iceConn, _bytes) \
{ \
- if ((_iceConn->outbufptr + (_bytes)) > _iceConn->outbufmax) \
- { \
- char _dummy[7] = { 0 }; \
- IceFlush (_iceConn); \
- _IceWrite (_iceConn, (unsigned long) (_bytes), _dummy); \
- } \
- else \
- { \
- _iceConn->outbufptr += (_bytes); \
- } \
+ char _dummy[7] = { 0 }; \
+ IceWriteData (_iceConn, (_bytes), _dummy); \
}