151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
*tmp2 = '\0';
tmp2++;
host = [[OFString alloc] initWithCString: cString];
pool = [[OFAutoreleasePool alloc] init];
portString = [[OFString alloc] initWithCString: tmp2];
if ([portString decimalValue] > 65535)
@throw [OFInvalidFormatException
newWithClass: isa];
port = [portString decimalValue];
|
|
|
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
*tmp2 = '\0';
tmp2++;
host = [[OFString alloc] initWithCString: cString];
pool = [[OFAutoreleasePool alloc] init];
portString = [OFString stringWithCString: tmp2];
if ([portString decimalValue] > 65535)
@throw [OFInvalidFormatException
newWithClass: isa];
port = [portString decimalValue];
|