1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

typing: fix type and name of variable for key in hashtable typing_status_nicks

This commit is contained in:
Sébastien Helleu
2023-05-16 13:23:07 +02:00
parent 2a3d98c996
commit cfc85b7fea
+3 -3
View File
@@ -289,17 +289,17 @@ typing_status_nicks_status_map_cb (void *data,
struct t_hashtable *hashtable,
const void *key, const void *value)
{
const char *ptr_nick;
struct t_gui_buffer *ptr_buffer;
struct t_typing_status *ptr_typing_status;
time_t current_time;
int delay_purge_pause, delay_purge_typing;
current_time = *((time_t *)data);
ptr_nick = (const char *)key;
ptr_buffer = (struct t_gui_buffer *)key;
ptr_typing_status = (struct t_typing_status *)value;
if (!ptr_nick || !ptr_typing_status)
if (!ptr_buffer || !ptr_typing_status)
return;
delay_purge_pause = weechat_config_integer (