Fixed indenting

This commit is contained in:
Sergey Lyubka 2013-07-23 08:16:38 +01:00
parent 16c463d2e9
commit f2e19ca3ff

View File

@ -4300,8 +4300,8 @@ int mg_upload(struct mg_connection *conn, const char *destination_dir) {
fp = NULL;
// Construct destination file name. Do not allow paths to have slashes.
if ((s = strrchr(fname, '/')) == NULL &&
(s = strrchr(fname, '\\')) == NULL) {
s = fname;
(s = strrchr(fname, '\\')) == NULL) {
s = fname;
}
// Open file in binary mode. TODO: set an exclusive lock.