whitespace fixes
This commit is contained in:
@@ -37,8 +37,8 @@ void HTTPRequestBaton::start() {
|
||||
struct tm *timeinfo;
|
||||
char buffer[32];
|
||||
const time_t modified = response->modified;
|
||||
timeinfo = std::gmtime (&modified);
|
||||
strftime_l(buffer, 32 ,"%a, %d %b %Y %H:%M:%S GMT", timeinfo, locale);
|
||||
timeinfo = std::gmtime(&modified);
|
||||
strftime_l(buffer, 32, "%a, %d %b %Y %H:%M:%S GMT", timeinfo, locale);
|
||||
[request addValue:@(buffer) forHTTPHeaderField:@"If-Modified-Since"];
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ struct HTTPRequestBaton {
|
||||
HTTPRequestBaton();
|
||||
~HTTPRequestBaton();
|
||||
|
||||
|
||||
const unsigned long thread_id;
|
||||
HTTPRequest *request = nullptr;
|
||||
std::string path;
|
||||
|
||||
@@ -53,7 +53,6 @@ void HTTPRequestBaton::stop() {
|
||||
cancel();
|
||||
}
|
||||
|
||||
|
||||
void HTTPRequestBaton::notify(uv_async_t *async_unguarded) {
|
||||
// Ensure deletion of pointers.
|
||||
std::unique_ptr<uv_async_t, uv::deleter> async(async_unguarded);
|
||||
|
||||
Reference in New Issue
Block a user