]> cgit.babelmonkeys.de Git - mpdbot.git/blobdiff - src/PEPThread.m
Get rid of most occurences of of_log()
[mpdbot.git] / src / PEPThread.m
index e857ae368311a28b6473fa83dd3bba77adbb90bd..e00db9d8597aebcfc6ada79fa3c27af2b49e3742 100644 (file)
@@ -47,8 +47,8 @@
                                       port: 6600];
                        return;
                } @catch (id e) {
-                       of_log(@"Connection failed, retrying in %" PRIi64
-                                       " seconds", pause);
+                       [of_stderr writeFormat: @"Connection failed, retrying"
+                               " in %" PRIi64 " seconds\n", pause];
                        [OFThread sleepForTimeInterval: pause];
                        if (pause < 120)
                                pause *= 2;