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() {