https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d1045
)
Switch to using -[NSString stringWithUTF8String:] in SocketWrapper.
author
Robert Sesek <rsesek@bluestatic.org>
Wed, 22 Jul 2009 02:55:49 +0000
(22:55 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Wed, 22 Jul 2009 02:55:49 +0000
(22:55 -0400)
Source/SocketWrapper.m
patch
|
blob
|
history
diff --git
a/Source/SocketWrapper.m
b/Source/SocketWrapper.m
index 07b21ee745a0010f215276237cc2c8a4dd8a7e7d..38cffc38e55172af87e312fce6241c511909f2fd 100644
(file)
--- a/
Source/SocketWrapper.m
+++ b/
Source/SocketWrapper.m
@@
-193,7
+193,7
@@
[self error:@"Socket closed or could not be read"];
return nil;
}
- NSString* temp = [NSString stringWith
CString:buffer encoding:NSUTF8StringEncoding
];
+ NSString* temp = [NSString stringWith
UTF8String:buffer
];
[string appendString:temp];
received += [temp length];
}