Differences From Artifact [a4708f3429]:
- File
src/OFHTTPServer.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 15624) [annotate] [blame] [check-ins using]
To Artifact [0c9c549df6]:
- File src/OFHTTPServer.m — part of check-in [9ea5f2723f] at 2013-04-10 20:56:12 on branch trunk — OFHTTPServer: Fix an evil typo. (user: js, size: 15625) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
593 594 595 596 597 598 599 |
[URL setPort: _port];
if ((pos = [_path rangeOfString: @"?"].location) != OF_NOT_FOUND) {
OFString *path, *query;
path = [_path substringWithRange: of_range(0, pos)];
query = [_path substringWithRange:
| | | 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 |
[URL setPort: _port];
if ((pos = [_path rangeOfString: @"?"].location) != OF_NOT_FOUND) {
OFString *path, *query;
path = [_path substringWithRange: of_range(0, pos)];
query = [_path substringWithRange:
of_range(pos + 1, [_path length] - pos - 1)];
[URL setPath: path];
[URL setQuery: query];
} else
[URL setPath: _path];
request = [OFHTTPRequest requestWithURL: URL];
|
| ︙ | ︙ |