From 17a269e7c14eddede0d030853625969304fe522f Mon Sep 17 00:00:00 2001 From: Stefan Persson Date: Mon, 16 Sep 2013 13:51:41 +0200 Subject: [PATCH] The ugly temporary fix for segfault in TelldusCenter did not suffice. Trying this instead. --- telldus-core/common/EventHandler_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telldus-core/common/EventHandler_unix.cpp b/telldus-core/common/EventHandler_unix.cpp index 15372b78..5aa80e29 100644 --- a/telldus-core/common/EventHandler_unix.cpp +++ b/telldus-core/common/EventHandler_unix.cpp @@ -24,7 +24,7 @@ public: EventHandler::EventHandler() { d = new PrivateData; - printf(""); + pthread_cond_init(&d->event, NULL); pthread_cond_init(&d->event, NULL); pthread_mutex_init(&d->mutex, NULL); }