diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-11 04:05:42 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-11 04:05:42 +0000 |
commit | 5f2d86a6658b756d878ae467a6fc4fd4d7c1968d (patch) | |
tree | 1805bea9e804f2dffe6196e0130f0e00d5fd6a08 /hcid/main.c | |
parent | 085532b9b31837bdd7d028c1e65bf428807d27bb (diff) |
Remove PIN helper and D-Bus PIN helper support
Diffstat (limited to 'hcid/main.c')
-rw-r--r-- | hcid/main.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/hcid/main.c b/hcid/main.c index 93edb232..842a5826 100644 --- a/hcid/main.c +++ b/hcid/main.c @@ -566,8 +566,6 @@ int main(int argc, char *argv[], char *env[]) strcpy((char *) hcid.pin_code, "BlueZ"); hcid.pin_len = 5; - hcid.pin_helper = strdup(HCID_PIN_HELPER); - init_defaults(); while ((opt = getopt(argc, argv, "nsf:")) != EOF) { @@ -660,15 +658,10 @@ int main(int argc, char *argv[], char *env[]) init_devices(); #ifdef ENABLE_DBUS - if (hcid_dbus_init() == FALSE && hcid.dbus_pin_helper) { + if (hcid_dbus_init() == FALSE) { error("Unable to get on D-Bus"); exit(1); } -#else - if (hcid.dbus_pin_helper) { - error("D-Bus not configured in this build of hcid"); - exit(1); - } #endif init_security_data(); |