ui/ncurses: Don't announce pb-discover connection
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 14 Dec 2016 03:52:11 +0000 (14:52 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:22 +0000 (16:40 +1100)
The "Connected to pb-discover!" message is more useful for development
than actual use; for users the more important messages are related to
device and configuration parsing. Drop the message to slightly reduce
the level of noise on start up.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
ui/ncurses/nc-cui.c

index b4f74a793e73f906b3aaaa68b22d7deb66587a75..fbc02b969f15b1177b7d491825366d95631c2959 100644 (file)
@@ -1007,8 +1007,7 @@ static int cui_server_wait(void *arg)
                nc_scr_status_printf(cui->current,
                                     "Info: Waiting for device discovery");
        } else {
-               nc_scr_status_printf(cui->current,
-                                    "Info: Connected to pb-discover!");
+               nc_scr_status_free(cui->current);
                talloc_steal(cui, cui->client);
 
                if (cui->has_input) {