diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-02 16:20:26 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-02 16:20:26 -0400 |
commit | 802236272fbe4d4dbf982a14c6b552dafe699999 (patch) | |
tree | 30286c7c294b3a7f4e6a73ffd57699fc58e11e6d /core/Messenger.c | |
parent | 948c82a0cb0fb0c925ab8c69f4c3dfffe8624216 (diff) | |
parent | 7b46b04ce7f579815214f68092e359938823d7f0 (diff) |
Merge branch 'Jeffail-master'
Diffstat (limited to 'core/Messenger.c')
-rw-r--r-- | core/Messenger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Messenger.c b/core/Messenger.c index 3ffbe6ab..c768633e 100644 --- a/core/Messenger.c +++ b/core/Messenger.c | |||
@@ -27,7 +27,7 @@ | |||
27 | typedef struct { | 27 | typedef struct { |
28 | uint8_t client_id[CLIENT_ID_SIZE]; | 28 | uint8_t client_id[CLIENT_ID_SIZE]; |
29 | int crypt_connection_id; | 29 | int crypt_connection_id; |
30 | int64_t friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ | 30 | uint64_t friend_request_id; /* id of the friend request corresponding to the current friend request to the current friend. */ |
31 | uint8_t status; /* 0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online. */ | 31 | uint8_t status; /* 0 if no friend, 1 if added, 2 if friend request sent, 3 if confirmed friend, 4 if online. */ |
32 | uint8_t info[MAX_DATA_SIZE]; /* the data that is sent during the friend requests we do */ | 32 | uint8_t info[MAX_DATA_SIZE]; /* the data that is sent during the friend requests we do */ |
33 | uint8_t name[MAX_NAME_LENGTH]; | 33 | uint8_t name[MAX_NAME_LENGTH]; |
@@ -485,7 +485,7 @@ static void doInbound() | |||
485 | /*Interval in seconds between LAN discovery packet sending*/ | 485 | /*Interval in seconds between LAN discovery packet sending*/ |
486 | #define LAN_DISCOVERY_INTERVAL 60 | 486 | #define LAN_DISCOVERY_INTERVAL 60 |
487 | 487 | ||
488 | static int64_t last_LANdiscovery; | 488 | static uint64_t last_LANdiscovery; |
489 | 489 | ||
490 | /*Send a LAN discovery packet every LAN_DISCOVERY_INTERVAL seconds*/ | 490 | /*Send a LAN discovery packet every LAN_DISCOVERY_INTERVAL seconds*/ |
491 | static void LANdiscovery() | 491 | static void LANdiscovery() |