From d53fa266690a4faf654af18f76572708a494b34c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 23 Dec 2012 10:16:58 -0800 Subject: [PATCH] client: Move __terminated into signal handler --- client/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/main.c b/client/main.c index 100b226a2..4e860137f 100644 --- a/client/main.c +++ b/client/main.c @@ -1127,11 +1127,10 @@ static guint setup_standard_input(void) return source; } -static unsigned int __terminated = 0; - static gboolean signal_handler(GIOChannel *channel, GIOCondition condition, gpointer user_data) { + static unsigned int __terminated = 0; struct signalfd_siginfo si; ssize_t result; int fd; -- 2.47.3