Format core source files

Formatted core .cc files according to current uncrustify configuration.
This commit is contained in:
Markus Mäkelä
2019-05-06 09:10:25 +03:00
parent 5ac24de6b0
commit 6b8ca35408
20 changed files with 307 additions and 301 deletions

View File

@ -73,8 +73,8 @@ static inline size_t request_data_length(MHD_Connection* connection)
static bool modifies_data(const string& method)
{
return (method == MHD_HTTP_METHOD_POST || method == MHD_HTTP_METHOD_PUT
|| method == MHD_HTTP_METHOD_DELETE || method == MHD_HTTP_METHOD_PATCH);
return method == MHD_HTTP_METHOD_POST || method == MHD_HTTP_METHOD_PUT
|| method == MHD_HTTP_METHOD_DELETE || method == MHD_HTTP_METHOD_PATCH;
}
static void send_auth_error(MHD_Connection* connection)
@ -223,7 +223,7 @@ int handle_client(void* cls,
const char* version,
const char* upload_data,
size_t* upload_data_size,
void** con_cls)
void** con_cls)
{
if (*con_cls == NULL)