From 6168a36201a17a9a9086eee166eb9d9857bd7a54 Mon Sep 17 00:00:00 2001 From: Chris Marsh Date: Tue, 18 Jul 2017 09:46:49 -0700 Subject: [PATCH] fix params to cb --- examples/simple/simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple/simple.c b/examples/simple/simple.c index 05ef986..c4be6df 100644 --- a/examples/simple/simple.c +++ b/examples/simple/simple.c @@ -28,8 +28,8 @@ static void handleDiscordReady() { printf("\nDiscord: ready\n"); } -static void handleDiscordDisconnected() { - printf("\nDiscord: disconnected\n"); +static void handleDiscordDisconnected(int errcode, const char* message) { + printf("\nDiscord: disconnected (%d: %s)\n", errcode, message); } static void handleDiscordWantsPresence() {