Overview
| Comment: | Fix -[OFHTTPRequest copy] |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
9b38dfc914e47a70c6e440a1f4b2d5df |
| User & Date: | js on 2022-06-13 20:37:02 |
| Other Links: | manifest | tags |
Context
|
2022-06-13
| ||
| 21:17 | +[OFSystemInfo CPUModel]: Use sysctlbyname for Mac (check-in: e4a11c1509 user: js tags: trunk) | |
| 20:37 | Fix -[OFHTTPRequest copy] (check-in: 9b38dfc914 user: js tags: trunk) | |
| 14:46 | OFMutableAdjacentArray: Fix shadowing of variable (check-in: 3cf82a5618 user: js tags: trunk) | |
Changes
Modified src/OFHTTPRequest.m from [46404a5b3d] to [723c374a89].
| ︙ | ︙ | |||
129 130 131 132 133 134 135 |
return &_remoteAddress;
return NULL;
}
- (id)copy
{
| | < | 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 |
return &_remoteAddress;
return NULL;
}
- (id)copy
{
OFHTTPRequest *copy = [[OFHTTPRequest alloc] initWithURL: _URL];
@try {
copy->_method = _method;
copy->_protocolVersion = _protocolVersion;
copy.headers = _headers;
copy.remoteAddress = self.remoteAddress;
} @catch (id e) {
[copy release];
@throw e;
}
|
| ︙ | ︙ |