Commit c6fb9ac3 authored by Sergey Lyubka's avatar Sergey Lyubka

Fixed indenting in is_put_or_delete_request()

parent c80a88a4
...@@ -4345,7 +4345,9 @@ int mg_upload(struct mg_connection *conn, const char *destination_dir) { ...@@ -4345,7 +4345,9 @@ int mg_upload(struct mg_connection *conn, const char *destination_dir) {
static int is_put_or_delete_request(const struct mg_connection *conn) { static int is_put_or_delete_request(const struct mg_connection *conn) {
const char *s = conn->request_info.request_method; const char *s = conn->request_info.request_method;
return s != NULL && (!strcmp(s, "PUT") || !strcmp(s, "DELETE") || !strcmp(s, "MKCOL")); return s != NULL && (!strcmp(s, "PUT") ||
!strcmp(s, "DELETE") ||
!strcmp(s, "MKCOL"));
} }
static int get_first_ssl_listener_index(const struct mg_context *ctx) { static int get_first_ssl_listener_index(const struct mg_context *ctx) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment