From bc8c55472c7920f7ba414c8fc74676560940fe82 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Tue, 26 Feb 2008 18:33:23 -0500 Subject: [PATCH] Use pth_msgport_put() for the current thread too. --- src/pwmd.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/pwmd.c b/src/pwmd.c index 847e181d..ee2be9cb 100644 --- a/src/pwmd.c +++ b/src/pwmd.c @@ -285,14 +285,7 @@ void send_status_all(status_msg_t which) for (t = g_slist_length(cn_thread_list), i = 0; i < t; i++) { struct client_thread_s *cn = g_slist_nth_data(cn_thread_list, i); - pth_msgport_t m; - - if (cn->tid == pth_self()) { - send_status(cn->cl->ctx, which); - continue; - } - - m = pth_msgport_find(cn->msg_name); + pth_msgport_t m = pth_msgport_find(cn->msg_name); if (m) { pth_message_t *msg = g_malloc0(sizeof(pth_message_t)); -- 2.11.4.GIT