mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-21 13:29:25 +00:00
Use size_t for strlen length temporaries
This commit is contained in:
@@ -1017,7 +1017,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[],
|
||||
char *account;
|
||||
char ip[128], nick[NICKLEN];
|
||||
char *text, *ex;
|
||||
int len = strlen (type);
|
||||
size_t len = strlen (type);
|
||||
|
||||
/* fill in the "ip" and "nick" buffers */
|
||||
ex = strchr (word[1], '!');
|
||||
|
||||
Reference in New Issue
Block a user