Differences From Artifact [fd3994865b]:
- File
utils/ofhttp/OFHTTP.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 25024) [annotate] [blame] [check-ins using]
To Artifact [4a96f71a53]:
- File utils/ofhttp/OFHTTP.m — part of check-in [cead04ef07] at 2017-06-03 18:41:38 on branch trunk — ofhttp: Small string fix (user: js, size: 25017) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
714 715 716 717 718 719 720 |
_errorCode = 1;
goto next;
}
if (![[URL scheme] isEqual: @"http"] &&
![[URL scheme] isEqual: @"https"]) {
[of_stderr writeLine: OF_LOCALIZED(@"invalid_scheme",
| | | | 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 |
_errorCode = 1;
goto next;
}
if (![[URL scheme] isEqual: @"http"] &&
![[URL scheme] isEqual: @"https"]) {
[of_stderr writeLine: OF_LOCALIZED(@"invalid_scheme",
@"%[prog]: Invalid scheme: <%[url]>!",
@"prog", [OFApplication programName],
@"url", URLString)];
_errorCode = 1;
goto next;
}
clientHeaders = [[_clientHeaders mutableCopy] autorelease];
|
| ︙ | ︙ |