From 121cb8b88d32b1c2398b9f03f7e8a7c7b27e8391 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 18 Jul 2014 07:16:43 -0400 Subject: Fix formatting warnings Found by #1059 --- plugins/fishlim/plugin_hexchat.c | 4 ++-- src/common/outbound.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/fishlim/plugin_hexchat.c b/plugins/fishlim/plugin_hexchat.c index c7b06036..f200ea8c 100644 --- a/plugins/fishlim/plugin_hexchat.c +++ b/plugins/fishlim/plugin_hexchat.c @@ -221,7 +221,7 @@ static int handle_setkey(char *word[], char *word_eol[], void *userdata) { if (keystore_store_key(nick, key)) { hexchat_printf(ph, "Stored key for %s\n", nick); } else { - hexchat_printf(ph, "\00305Failed to store key in addon_fishlim.conf\n", nick, key); + hexchat_printf(ph, "\00305Failed to store key in addon_fishlim.conf\n"); } return HEXCHAT_EAT_HEXCHAT; @@ -245,7 +245,7 @@ static int handle_delkey(char *word[], char *word_eol[], void *userdata) { if (keystore_delete_nick(nick)) { hexchat_printf(ph, "Deleted key for %s\n", nick); } else { - hexchat_printf(ph, "\00305Failed to delete key in addon_fishlim.conf!\n", nick); + hexchat_printf(ph, "\00305Failed to delete key in addon_fishlim.conf!\n"); } return HEXCHAT_EAT_HEXCHAT; diff --git a/src/common/outbound.c b/src/common/outbound.c index a36b9880..651558ce 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3713,8 +3713,8 @@ userlist_cb (struct User *user, session *sess) else lt = time (0) - user->lasttalk; PrintTextf (sess, - "\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%d\n", - user->nick, user->hostname, user->op, user->voice, user->away, lt); + "\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%ld\n", + user->nick, user->hostname, user->op, user->voice, user->away, (long)lt); return TRUE; } -- cgit 1.4.1