1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

improve code formatting

This commit is contained in:
Ailin Nemui 2023-09-12 13:51:36 +02:00
parent 3aa9734c1c
commit fe6013be42

View File

@ -242,7 +242,8 @@ int quitmsg_is_split(const char *msg)
- can't contain ':' or '/' chars (some servers allow URLs)
*/
host2 = NULL;
prev = '\0'; host1_dot = host2_dot = 0;
prev = '\0';
host1_dot = host2_dot = 0;
while (*msg != '\0') {
if (*msg == ' ') {
if (prev == '.' || prev == '\0') {