diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-03-24 17:12:12 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-03-24 18:36:32 +0100 |
commit | afc1ecdaf9b316b627644652c8c579fed83063fc (patch) | |
tree | bbbb6e172d9f82fca10662e0e701fe0a9ad13e8b /src/plugins/irc | |
parent | cbad99356f577a0260078e87e5af45bddc3220ba (diff) | |
download | weechat-afc1ecdaf9b316b627644652c8c579fed83063fc.zip |
irc: fix debug print of modelist item datetime value
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-modelist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-modelist.c b/src/plugins/irc/irc-modelist.c index 697e8da39..aaf6f5f4a 100644 --- a/src/plugins/irc/irc-modelist.c +++ b/src/plugins/irc/irc-modelist.c @@ -478,7 +478,8 @@ irc_modelist_item_print_log (struct t_irc_modelist_item *item) weechat_log_printf (" => modelist item %d (addr:0x%lx):", item, item->number); weechat_log_printf (" mask . . . . . . . . . . : '%s'", item->mask); weechat_log_printf (" setter . . . . . . . . . : '%s'", item->setter); - weechat_log_printf (" datetime . . . . . . . . : '%s'", item->datetime); + weechat_log_printf (" datetime . . . . . . . . : %lld", + (long long)(item->datetime)); weechat_log_printf (" prev_item . . . . . . . : 0x%lx", item->prev_item); weechat_log_printf (" next_item . . . . . . . : 0x%lx", item->next_item); } |