summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-private.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-22 10:14:38 -0400
committerDan Winship <danw@gnome.org>2014-09-04 09:17:37 -0400
commit504c292d7389e68e926a428cc5083359a6ba2e0b (patch)
treebf4f73c051c31612fcaf581610a8a81b5de1cbb7 /libnm-core/nm-setting-private.h
parent05f30681635157e07e7a5dd210b5c621a5a53fd9 (diff)
downloadNetworkManager-504c292d7389e68e926a428cc5083359a6ba2e0b.tar.gz
libnm-core: clean up nm_connection_replace_settings()'s semantics
On failure, nm_connection_replace_settings() would leave the connection in an undefined state. Fix it so that either (a) the settings are replaced and the resulting connection is valid and we return TRUE, or (b) the connection is untouched and we return FALSE and an error. (And add a test case for this.)
Diffstat (limited to 'libnm-core/nm-setting-private.h')
0 files changed, 0 insertions, 0 deletions