diff options
author | emax <emax@FreeBSD.org> | 2004-01-20 20:48:26 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2004-01-20 20:48:26 +0000 |
commit | 8a9c8a287a37066fd95659d3185b331a52843591 (patch) | |
tree | c318d183c555f9482f9b067d6ac25de5901a5821 /usr.sbin/bluetooth/sdpcontrol | |
parent | 63d4653d05ffbec70fdf5d14dc3b1cb29e2b4425 (diff) | |
download | FreeBSD-src-8a9c8a287a37066fd95659d3185b331a52843591.zip FreeBSD-src-8a9c8a287a37066fd95659d3185b331a52843591.tar.gz |
Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.
Extend libsdp(3) API to allow service registration and removal.
Fix uninitialized variable bug in sdpcontrol(8).
Reviewed by: imp (mentor)
No objection: ru
Diffstat (limited to 'usr.sbin/bluetooth/sdpcontrol')
-rw-r--r-- | usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c index d774386..6cb4863 100644 --- a/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c +++ b/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c @@ -57,6 +57,7 @@ main(int argc, char *argv[]) bdaddr_t bdaddr; memset(&bdaddr, 0, sizeof(bdaddr)); + local = 0; /* Process command line arguments */ while ((n = getopt(argc, argv, "a:c:lh")) != -1) { |