From 5508036d5bd8cec0e59497dd0ad60f547305b2bd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 7 Feb 2010 10:41:20 -0500 Subject: [PATCH] In -[SocketWrapper error:] we were sending the wrong message to our delegate. --- Source/SocketWrapper.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/SocketWrapper.m b/Source/SocketWrapper.m index bb91fcf..46375ff 100644 --- a/Source/SocketWrapper.m +++ b/Source/SocketWrapper.m @@ -253,7 +253,8 @@ */ - (void)error:(NSString*)msg { - [delegate performSelectorOnMainThread:@selector(setError:) withObject:msg waitUntilDone:NO]; + NSLog(@"-[SocketWrapper error:] = %@", msg); + [delegate performSelectorOnMainThread:@selector(errorEncountered:) withObject:msg waitUntilDone:NO]; } @end -- 2.43.5