obexd: Move __terminated into signal handler

This commit is contained in:
Marcel Holtmann 2012-12-23 10:16:53 -08:00
parent 3a10e8a448
commit 9ba1d688bf

View File

@ -56,11 +56,10 @@
static GMainLoop *main_loop = NULL;
static unsigned int __terminated = 0;
static gboolean signal_handler(GIOChannel *channel, GIOCondition cond,
gpointer user_data)
{
static unsigned int __terminated = 0;
struct signalfd_siginfo si;
ssize_t result;
int fd;