https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d1045
)
Revert "We need to use UTF8 string encoding instead of ASCII because we're receiving...
author
Robert Sesek <rsesek@bluestatic.org>
Wed, 20 May 2009 03:47:12 +0000
(23:47 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Wed, 20 May 2009 03:47:12 +0000
(23:47 -0400)
This reverts commit
3e0ed926b2280e94306e76d829780062552d4c34
.
Source/SocketWrapper.m
patch
|
blob
|
history
diff --git
a/Source/SocketWrapper.m
b/Source/SocketWrapper.m
index 07b21ee745a0010f215276237cc2c8a4dd8a7e7d..f93d2f13d886f7c4d248f0aae6581fe405e6dcaa 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 stringWithCString:buffer encoding:NS
UTF8
StringEncoding];
+ NSString* temp = [NSString stringWithCString:buffer encoding:NS
ASCII
StringEncoding];
[string appendString:temp];
received += [temp length];
}