From b2f6230c8f652012852b5b6717d3b18d1c6f2fa4 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 22 Dec 2011 21:09:11 +0100 Subject: [PATCH] Eliminate of_log usage. --- src/mpdbot.m | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/mpdbot.m b/src/mpdbot.m index 84f864d..8268e44 100644 --- a/src/mpdbot.m +++ b/src/mpdbot.m @@ -61,7 +61,7 @@ OF_APPLICATION_DELEGATE(AppDelegate) [conn connect]; [conn handleConnection]; } @catch (id e) { - of_log(@"%@", e); + [of_stderr writeFormat: @"%@\n", e]; } } @@ -114,17 +114,12 @@ OF_APPLICATION_DELEGATE(AppDelegate) return YES; } } + [of_stderr writeLine: @"Server does NOT support PEP"]; } return NO; } -- (void)connection: (XMPPConnection*)conn - didReceiveMessage: (XMPPMessage*)msg -{ - of_log(@"Message: %@", msg); -} - - (void)connection: (XMPPConnection*)conn didReceivePresence: (XMPPPresence*)pres { -- 2.39.5