mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 00:10:11 +01:00
2008-09-29 Dan Williams <dcbw@redhat.com>
Patch from Robert Buchholz <rbu@gentoo.org> * src/nm-openvpn-service.c - (openvpn_watch_cb): don't access socket_channel if it doesn't exist because openvpn exited before the management socket could be set up git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4121 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
453940a799
commit
0b4cd09b18
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2008-09-29 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Robert Buchholz <rbu@gentoo.org>
|
||||
|
||||
* src/nm-openvpn-service.c
|
||||
- (openvpn_watch_cb): don't access socket_channel if it doesn't exist
|
||||
because openvpn exited before the management socket could be set up
|
||||
|
||||
2008-09-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* common-gnome/*
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ openvpn_watch_cb (GPid pid, gint status, gpointer user_data)
|
|||
}
|
||||
|
||||
/* Try to get the last bits of data from openvpn */
|
||||
if (priv->io_data) {
|
||||
if (priv->io_data && priv->io_data->socket_channel) {
|
||||
GIOChannel *channel = priv->io_data->socket_channel;
|
||||
GIOCondition condition;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue