From fca86b001448a88f8cb55ead2320e2280997eada Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 8 Dec 2010 15:20:33 +0200 Subject: [PATCH] =?utf8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5?= =?utf8?q?=D0=BD=D0=B0=20=D1=83=D1=82=D0=B5=D1=87=D0=BA=D0=B0=20=D1=80?= =?utf8?q?=D0=B5=D1=81=D1=83=D1=80=D1=81=D0=B0=20(=D1=84=D0=B0=D0=B9=D0=BB?= =?utf8?q?=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE=20=D0=B4=D0=B5=D1=81=D0=BA=D1=80?= =?utf8?q?=D0=B8=D0=BF=D1=82=D0=BE=D1=80=D0=B0)=20=D0=BF=D1=80=D0=B8=20?= =?utf8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B5=20=D0=B7=D0=B0=D0=BF=D0=B8?= =?utf8?q?=D1=81=D0=B8=20=D1=81=D1=82=D0=B0=D1=82=D0=B8=D1=81=D1=82=D0=B8?= =?utf8?q?=D0=BA=D0=B8=20=D0=B2=20=D1=84=D0=B0=D0=B9=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- projects/stargazer/plugins/store/files/file_store.cpp | 2 +- projects/stargazer/plugins/store/files/file_store.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/stargazer/plugins/store/files/file_store.cpp b/projects/stargazer/plugins/store/files/file_store.cpp index 556bf8cf..a49ca977 100644 --- a/projects/stargazer/plugins/store/files/file_store.cpp +++ b/projects/stargazer/plugins/store/files/file_store.cpp @@ -1895,6 +1895,7 @@ if (fprintf(statFile, "-> %02d.%02d.%02d - %02d.%02d.%02d\n", STG_LOCKER lock(&mutex, __FILE__, __LINE__); errorStr = string("fprint failed. Message: '") + strerror(errno) + "'"; printfd(__FILE__, "FILES_STORE::WriteDetailStat - fprintf failed. Message: '%s'\n", strerror(errno)); + fclose(statFile); return -1; } @@ -2214,4 +2215,3 @@ fclose(msgFile); return 0; } //----------------------------------------------------------------------------- - diff --git a/projects/stargazer/plugins/store/files/file_store.h b/projects/stargazer/plugins/store/files/file_store.h index 38fea5e1..cb3abdb3 100644 --- a/projects/stargazer/plugins/store/files/file_store.h +++ b/projects/stargazer/plugins/store/files/file_store.h @@ -202,4 +202,3 @@ private: //----------------------------------------------------------------------------- #endif //FILE_STORE_H - -- 2.44.2