From f2e19ca3ffe86a2ac965fe3c6f672b2d49bc116f Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Tue, 23 Jul 2013 08:16:38 +0100
Subject: [PATCH] Fixed indenting

---
 mongoose.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mongoose.c b/mongoose.c
index 8515108ff..77af2a6ef 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -4299,11 +4299,11 @@ int mg_upload(struct mg_connection *conn, const char *destination_dir) {
     // there is no other thread can save into the same file simultaneously.
     fp = NULL;
     // Construct destination file name. Do not allow paths to have slashes.
-    if ((s = strrchr(fname, '/')) == NULL && 
-		(s = strrchr(fname, '\\')) == NULL) {
-            s = fname;
+    if ((s = strrchr(fname, '/')) == NULL &&
+        (s = strrchr(fname, '\\')) == NULL) {
+      s = fname;
     }
-    
+
     // Open file in binary mode. TODO: set an exclusive lock.
     snprintf(path, sizeof(path), "%s/%s", destination_dir, s);
     if ((fp = fopen(path, "wb")) == NULL) {
-- 
GitLab