• Dan Winship's avatar
    libnm-core: clean up nm_connection_replace_settings()'s semantics · 504c292d
    Dan Winship authored
    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.)
test-general.c 117 KB