diff options
| author | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-05-11 22:08:45 +0200 |
| commit | ee9c73a923909e23a649407be77e25235d769e25 (patch) | |
| tree | e21c923621fa278e737da693df9eb60ea31a6067 /clients/cli/devices.c | |
| parent | f60117b41d5433be1b4a96d82cd11d0c3dce9b63 (diff) | |
New upstream version 1.10.8 upstream/1.10.8
Diffstat (limited to 'clients/cli/devices.c')
| -rw-r--r-- | clients/cli/devices.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c index a43861fa..da969fbe 100644 --- a/clients/cli/devices.c +++ b/clients/cli/devices.c @@ -451,8 +451,11 @@ usage_device_lldp (void) static void quit (void) { - if (nm_clear_g_source (&progress_id)) + if (progress_id) { + g_source_remove (progress_id); nmc_terminal_erase_line (); + } + g_main_loop_quit (loop); } @@ -831,7 +834,7 @@ fill_output_access_point (gpointer data, gpointer user_data) strength_str = g_strdup_printf ("%u", strength); wpa_flags_str = ap_wpa_rsn_flags_to_string (wpa_flags); rsn_flags_str = ap_wpa_rsn_flags_to_string (rsn_flags); - sig_bars = nmc_wifi_strength_bars (strength); + sig_bars = nm_utils_wifi_strength_bars (strength); security_str = g_string_new (NULL); |