libnm: be more accepting for invalid connections from NetworkManager
authorThomas Haller <thaller@redhat.com>
Wed, 23 Mar 2016 15:18:25 +0000 (16:18 +0100)
committerThomas Haller <thaller@redhat.com>
Sat, 26 Mar 2016 11:10:54 +0000 (12:10 +0100)
commit4aa7e09d1fca28c31589ab7e9dd1c94bd7b63dcd
treef7b0bac57b831389078d131bdd04f1a78dccfb64
parent559ab7bd7cd886b97d23ae43b3870f71cb147d62
libnm: be more accepting for invalid connections from NetworkManager

Relax our error checking which will allow us to try harder to
make the best out of whatever NetworkManager sends us.

Also, drop the g_warning(). First, now we really don't expect this
function to fail. And even in that case, raising a g_warning() from
the library is not very friendly to the user of libnm.
libnm/nm-remote-connection.c
libnm/tests/test-nm-client.c