diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2016-07-24 16:18:37 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2016-07-24 16:18:37 +0300 |
commit | 5f2c8a15228f58f1f7ac772b738fcc1b98b761d1 (patch) | |
tree | f52198d06d2cde37344f78df24c5632a9893c0b3 /client | |
parent | c560b5074faaf2a1e9b4670b7b0c8410f8afaa30 (diff) | |
download | bluez-5f2c8a15228f58f1f7ac772b738fcc1b98b761d1.tar.gz |
client: Don't attach stdin in connect_handler()
connect_handler() gets called when we're connected to D-Bus but before
introspection of the remote service (org.bluez) is complete. The
client_ready() callback otoh waits until the introspection is complete
and is already also taking care of attaching input.
Diffstat (limited to 'client')
-rw-r--r-- | client/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/client/main.c b/client/main.c index 32341ad54..056331fe5 100644 --- a/client/main.c +++ b/client/main.c @@ -120,9 +120,6 @@ static void connect_handler(DBusConnection *connection, void *user_data) printf("\r"); rl_on_new_line(); rl_redisplay(); - - if (!input) - input = setup_standard_input(); } static void disconnect_handler(DBusConnection *connection, void *user_data) |