mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-29 13:26:44 +02:00
Replace instances of unsafe atoi function with safe counterpart
This commit is contained in:
@ -49,6 +49,10 @@
|
||||
#define KEY_IDENT_DIGITS 3 /* number of hex digits to display for the pub-key based identifier */
|
||||
#define TIME_STR_SIZE 32
|
||||
|
||||
#ifndef MAX_PORT_RANGE
|
||||
#define MAX_PORT_RANGE 65535
|
||||
#endif
|
||||
|
||||
/* ASCII key codes */
|
||||
#define T_KEY_ESC 0x1B /* ESC key */
|
||||
#define T_KEY_KILL 0x0B /* ctrl-k */
|
||||
|
Reference in New Issue
Block a user