Fix the fix for GETSHORT and GETLONG bug #19052, needs to be tested by some PPP user.

This commit is contained in:
christiaans 2007-02-14 08:08:35 +00:00
parent 3551b2a2a1
commit 205520c620

View File

@ -180,7 +180,7 @@ enum NPmode {
#define GETSHORT(s, cp) { \
(s) = *(cp); (cp)++; (s) << 8; \
(s) = *(cp); (cp)++; (s) <<= 8; \
(s) |= *(cp); (cp)++; \
}
#define PUTSHORT(s, cp) { \
@ -189,7 +189,7 @@ enum NPmode {
}
#define GETLONG(l, cp) { \
(l) = *(cp); (cp)++; (l) << 8; \
(l) = *(cp); (cp)++; (l) <<= 8; \
(l) |= *(cp); (cp)++; (l) <<= 8; \
(l) |= *(cp); (cp)++; (l) <<= 8; \
(l) |= *(cp); (cp)++; \