From: Florian Zeitz Date: Thu, 22 Dec 2011 20:09:11 +0000 (+0100) Subject: Eliminate of_log usage. X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=b2f6230c8f652012852b5b6717d3b18d1c6f2fa4;p=mpdbot.git Eliminate of_log usage. --- 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 {