diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-12 16:41:51 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-16 14:13:25 +0100 |
commit | 3d759b1f11110216749fbd4893e3e63594a8d70d (patch) | |
tree | 4bf7a3aa6c4bc702dab7b47be1d81747eb12fa6c | |
parent | 329ac02d386f1b3bfd63a5dbc0025d612110c8af (diff) | |
download | NetworkManager-3d759b1f11110216749fbd4893e3e63594a8d70d.tar.gz |
platform: during @abort_parsing goto stop in event_handler_recvmsgs()
Now, that we no longer overwrite @err, we can jump to stop: instead
of out:.
-rw-r--r-- | src/platform/nm-linux-platform.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index a5b277d6a5..f442f88b6a 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -5699,11 +5699,8 @@ continue_reading: event_seq_check (platform, msg, seq_result); - if (abort_parsing) { - if (!handle_events) - goto continue_reading; - goto out; - } + if (abort_parsing) + goto stop; err = 0; hdr = nlmsg_next (hdr, &n); |