From b58e3f7e280ad3ccc271d0a3850637e69fc28054 Mon Sep 17 00:00:00 2001 From: drbob Date: Sun, 6 Jul 2008 16:38:52 +0000 Subject: [PATCH] BUGFIX: Stopped it producing thousands of empty files. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@638 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3Qblog.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretroshare/src/services/p3Qblog.cc b/libretroshare/src/services/p3Qblog.cc index 1abe08250..fd95f3549 100644 --- a/libretroshare/src/services/p3Qblog.cc +++ b/libretroshare/src/services/p3Qblog.cc @@ -609,5 +609,9 @@ void p3Qblog::tick() { if(!postBlogs()) std::cerr << "p3Qblog::tick():" << "tick failed!"; + + /* drbob: added to stop infinite qblog output */ + RsStackMutex stack(mBlogMtx); + mPostsUpdated = true; } }