diff options
| author | Thomas Haller <thaller@redhat.com> | 2017-05-11 12:04:24 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2017-05-11 12:45:12 +0200 |
| commit | 06f80388c375be63ac1048667d1ceb980d92f5af (patch) | |
| tree | 60670a125c55c7dbb1afb87fff80a4f220afdb79 /vapi | |
| parent | a80f31fd57852fc1ebca520c2e1583e6e8120c40 (diff) | |
| download | NetworkManager-th/c-list.tar.gz | |
proxy: use CList to track configs in NMPacrunnnerManagerth/c-list
- config->removed can be replaced by c_list_is_empty(&config->lst)
- downgrade some assertions to nm_assert(). Even without the
assert we crash a few lines later with a NULL pointer access.
That gives almost the same debuggability and discoverability
of the bug.
- use exected type signature for GAsyncReadyCallback and avoid
the cast.
- when the name owner disappears, cancel all asynchronous
operations. Note how the new pacrunner instance will anyway
start without configuration, so for all purpose, all pending
operations are at that moment obsolete.
Diffstat (limited to 'vapi')
0 files changed, 0 insertions, 0 deletions
