Differences From Artifact [d541eab337]:
- File
src/OFHTTPClient.m
— part of check-in
[b6ee372b98]
at
2020-08-11 19:45:36
on branch trunk
— OFString: Rework number parsing API
This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (user: js, size: 30357) [annotate] [blame] [check-ins using]
To Artifact [561ec71175]:
- File
src/OFHTTPClient.m
— part of check-in
[25c985fec1]
at
2020-08-25 00:11:24
on branch trunk
— OFNumber: Remove (u)int{8,16,32,64} methods
Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. (user: js, size: 30364) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
716 717 718 719 720 721 722 | } else { sock = [OFTCPSocket socket]; port = 80; } URLPort = URL.port; if (URLPort != nil) | | | 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 | } else { sock = [OFTCPSocket socket]; port = 80; } URLPort = URL.port; if (URLPort != nil) port = URLPort.unsignedShortValue; sock.delegate = self; [sock asyncConnectToHost: URL.host port: port]; } @catch (id e) { [self raiseException: e]; } |
︙ | ︙ |