diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index c29b6594..43cc48f9 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -90,7 +90,7 @@ enum { | |||
90 | /* Interval between the sending of ping packets. */ | 90 | /* Interval between the sending of ping packets. */ |
91 | #define FRIEND_PING_INTERVAL 5 | 91 | #define FRIEND_PING_INTERVAL 5 |
92 | 92 | ||
93 | /* If no packets are recieved from friend in this time interval, kill the connection. */ | 93 | /* If no packets are received from friend in this time interval, kill the connection. */ |
94 | #define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 2) | 94 | #define FRIEND_CONNECTION_TIMEOUT (FRIEND_PING_INTERVAL * 2) |
95 | 95 | ||
96 | /* USERSTATUS - | 96 | /* USERSTATUS - |
@@ -354,7 +354,7 @@ int setname(Messenger *m, uint8_t *name, uint16_t length); | |||
354 | 354 | ||
355 | /* | 355 | /* |
356 | * Get your nickname. | 356 | * Get your nickname. |
357 | * m - The messanger context to use. | 357 | * m - The messenger context to use. |
358 | * name needs to be a valid memory location with a size of at least MAX_NAME_LENGTH bytes. | 358 | * name needs to be a valid memory location with a size of at least MAX_NAME_LENGTH bytes. |
359 | * | 359 | * |
360 | * return length of the name. | 360 | * return length of the name. |