From: Maxim Mamontov <faust@gts.dp.ua>
Date: Fri, 17 Dec 2010 11:08:11 +0000 (+0200)
Subject: Исправлена ошибка компиляции файлового плагина
X-Git-Tag: 2.407-rc3~277
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/482fbc7cd806fae896db10d38833728b76fa1d91

Исправлена ошибка компиляции файлового плагина
---

diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp
index c94a6036..b926eb6a 100644
--- a/projects/stargazer/plugins/store/files/file_store.cpp
+++ b/projects/stargazer/plugins/store/files/file_store.cpp
@@ -1053,7 +1053,7 @@ fileName = storeSettings.GetUsersDir() + "/" + login + "/stat";
     cfstat.WriteInt("LastActivityTime", stat.lastActivityTime);
     }
 
-e = chmod(fileName.c_str(), storeSettings.GetStatMode());
+int e = chmod(fileName.c_str(), storeSettings.GetStatMode());
 e += chown(fileName.c_str(), storeSettings.GetStatUID(), storeSettings.GetStatGID());
 
 if (e)