From 17f773cb7d0b8234e65f90aa9889372a66d22e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 12 Mar 2005 09:21:59 +0000 Subject: [PATCH] Fix htons svn path=/trunk/; revision=13964 --- reactos/drivers/net/tcpip/include/tcpip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/net/tcpip/include/tcpip.h b/reactos/drivers/net/tcpip/include/tcpip.h index fbc74489cca..f54248267f0 100644 --- a/reactos/drivers/net/tcpip/include/tcpip.h +++ b/reactos/drivers/net/tcpip/include/tcpip.h @@ -136,7 +136,7 @@ typedef struct { } TDIEntityInfo; #ifndef htons -#define htons(x) (((x) << 16) | (((x) >> 8) & 0xff)) +#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff)) #endif /* Global variable */