[network-manager-libreswan/lr/multiple-vpn] service: clean the pipe watcher source id
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-libreswan/lr/multiple-vpn] service: clean the pipe watcher source id
- Date: Wed, 4 Nov 2015 13:30:27 +0000 (UTC)
commit 55c1139522edb3846be1fafbe2a4292d6900fd13
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Wed Nov 4 14:00:31 2015 +0100
service: clean the pipe watcher source id
src/nm-libreswan-service.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nm-libreswan-service.c b/src/nm-libreswan-service.c
index 036049c..6823cff 100644
--- a/src/nm-libreswan-service.c
+++ b/src/nm-libreswan-service.c
@@ -1467,6 +1467,7 @@ pr_cb (GIOChannel *source, GIOCondition condition, gpointer user_data)
if (condition & (G_IO_ERR | G_IO_HUP)) {
DEBUG ("PTY(%s) pipe error!", pipe->detail);
+ pipe->id = 0;
return G_SOURCE_REMOVE;
}
g_assert (condition & G_IO_IN);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]