1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

relay: fix crash after /upgrade when relay clients are connected

This commit is contained in:
Sébastien Helleu
2024-12-22 19:30:31 +01:00
parent 119664d090
commit ad5fde5966
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
### Fixed
- relay: fix crash after `/upgrade` when relay clients are connected
- api: allow to add empty buffer with function infolist_new_var_buffer
- core: fix detection of dl library ([#2218](https://github.com/weechat/weechat/issues/2218))
- logger: fix path displayed when the logs directory can not be created
+5
View File
@@ -1696,6 +1696,11 @@ relay_client_new_with_infolist (struct t_infolist *infolist)
new_client->partial_ws_frame_size = ws_frame_size;
}
}
else
{
new_client->partial_ws_frame = NULL;
new_client->partial_ws_frame_size = 0;
}
str = weechat_infolist_string (infolist, "partial_message");
new_client->partial_message = (str) ? strdup (str) : NULL;