diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 20:02:01 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 20:02:01 +0200 |
commit | 8f0965f1091a7ecf5f315108b7d7876dc0a68f3b (patch) | |
tree | cd2c70c72ad8252e9ab9efce8210ac026b859371 /src/main.c | |
parent | 837961ae742fd6b18f3846683f76a5a58ecae034 (diff) |
Remove SDP server and experimental option
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -784,7 +784,7 @@ int main(int argc, char *argv[]) struct sigaction sa; GIOChannel *ctl_io, *child_io; uint16_t mtu = 0; - int opt, daemonize = 1, debug = 0, sdp = 1, experimental = 0; + int opt, daemonize = 1, debug = 0; GKeyFile *config; /* Default HCId settings */ @@ -803,7 +803,7 @@ int main(int argc, char *argv[]) init_defaults(); - while ((opt = getopt(argc, argv, "ndsm:xf:")) != EOF) { + while ((opt = getopt(argc, argv, "ndm:f:")) != EOF) { switch (opt) { case 'n': daemonize = 0; @@ -813,18 +813,10 @@ int main(int argc, char *argv[]) debug = 1; break; - case 's': - sdp = 1; - break; - case 'm': mtu = atoi(optarg); break; - case 'x': - experimental = 1; - break; - case 'f': hcid.config_file = g_strdup(optarg); break; @@ -907,9 +899,6 @@ int main(int argc, char *argv[]) agent_init(); - if (experimental) - hcid_dbus_set_experimental(); - if (hcid_dbus_init() < 0) { error("Unable to get on D-Bus"); exit(1); |