return;
} @catch (id e) {
[of_stderr writeFormat: @"Connection failed, retrying"
- " in %" PRIi64 " seconds\n", pause];
+ @" in %" PRIi64 @" seconds\n", pause];
[OFThread sleepForTimeInterval: pause];
if (pause < 120)
pause *= 2;
}
}
-- (OFMutableDictionary*)MPD_responseFromSocket: (OFTCPSocket*)sock
+- (OFMutableDictionary*)MPD_responseFromSocket: (OFTCPSocket*)sock_
{
OFString *answer;
OFMutableDictionary *response = [OFMutableDictionary dictionary];
- while ((answer = [sock readLine]) && ![answer hasPrefix: @"OK"]) {
+ while ((answer = [sock_ readLine]) && ![answer hasPrefix: @"OK"]) {
size_t index;
index = [answer indexOfFirstOccurrenceOfString: @":"];
if (index == OF_INVALID_INDEX)