From 8a9c8a287a37066fd95659d3185b331a52843591 Mon Sep 17 00:00:00 2001 From: emax Date: Tue, 20 Jan 2004 20:48:26 +0000 Subject: 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 --- usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin/bluetooth/sdpcontrol') 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) { -- cgit v1.1