169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
OFString *line;
OFArray *split;
OFString *action = nil;
@try {
line = [sock tryReadLine];
} @catch (OFInvalidEncodingException *e) {
[e dealloc];
line = [sock tryReadLineWithEncoding:
OF_STRING_ENCODING_WINDOWS_1252];
}
if (line == nil)
return;
|
<
|
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
OFString *line;
OFArray *split;
OFString *action = nil;
@try {
line = [sock tryReadLine];
} @catch (OFInvalidEncodingException *e) {
line = [sock tryReadLineWithEncoding:
OF_STRING_ENCODING_WINDOWS_1252];
}
if (line == nil)
return;
|