mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Fixed indenting
This commit is contained in:
1 parent
16c463d2e9
commit
f2e19ca3ff
1 file changed
+2
-2
+2
-2
@@ -4300,8 +4300,8 @@ int mg_upload(struct mg_connection *conn, const char *destination_dir) {
|
|||||||
fp = NULL;
|
fp = NULL;
|
||||||
// Construct destination file name. Do not allow paths to have slashes.
|
// Construct destination file name. Do not allow paths to have slashes.
|
||||||
if ((s = strrchr(fname, '/')) == NULL &&
|
if ((s = strrchr(fname, '/')) == NULL &&
|
||||||
(s = strrchr(fname, '\\')) == NULL) {
|
(s = strrchr(fname, '\\')) == NULL) {
|
||||||
s = fname;
|
s = fname;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open file in binary mode. TODO: set an exclusive lock.
|
// Open file in binary mode. TODO: set an exclusive lock.
|
||||||
|
|||||||
Reference in new issue
Block a user