diff options
Diffstat (limited to 'toxcore/network.h')
-rw-r--r-- | toxcore/network.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/toxcore/network.h b/toxcore/network.h index c1418c4c..bb851dcb 100644 --- a/toxcore/network.h +++ b/toxcore/network.h | |||
@@ -99,12 +99,9 @@ typedef int sock_t; | |||
99 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ | 99 | #define NET_PACKET_GROUP_CHATS 48 /* Group chats packet ID. */ |
100 | 100 | ||
101 | #define TOX_PORTRANGE_FROM 33445 | 101 | #define TOX_PORTRANGE_FROM 33445 |
102 | #define TOX_PORTRANGE_TO 33455 | 102 | #define TOX_PORTRANGE_TO 33545 |
103 | #define TOX_PORT_DEFAULT TOX_PORTRANGE_FROM | 103 | #define TOX_PORT_DEFAULT TOX_PORTRANGE_FROM |
104 | 104 | ||
105 | /* Current time, unix format */ | ||
106 | #define unix_time() ((uint64_t)time(NULL)) | ||
107 | |||
108 | typedef union { | 105 | typedef union { |
109 | uint8_t uint8[4]; | 106 | uint8_t uint8[4]; |
110 | uint16_t uint16[2]; | 107 | uint16_t uint16[2]; |