From c6fb9ac3d073dc4e193af946386df4b034ac964c Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Tue, 23 Jul 2013 08:24:52 +0100 Subject: [PATCH] Fixed indenting in is_put_or_delete_request() --- mongoose.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 77af2a6ef..1b65b4150 100644 --- a/mongoose.c +++ b/mongoose.c @@ -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) { 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) { -- GitLab