diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-11 20:49:01 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-11 20:49:01 +0200 |
commit | 3193b75007d8dcb15ef0ee3c75ae1fe467a90730 (patch) | |
tree | 86ae1388d4ecb03e07bf7c9dd0202ac770b07579 /src/sdpd.h | |
parent | c1bf8e7f46db78c7cc760d22b5c30fd2c6643620 (diff) |
Hide the verbose SDP debug behind SDP_DEBUG
Diffstat (limited to 'src/sdpd.h')
-rw-r--r-- | src/sdpd.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,12 @@ #include <bluetooth/bluetooth.h> #include <bluetooth/sdp.h> +#ifdef SDP_DEBUG +#define SDPDBG(fmt, arg...) syslog(LOG_DEBUG, "%s: " fmt "\n", __func__ , ## arg) +#else +#define SDPDBG(fmt...) +#endif + typedef struct request { bdaddr_t device; bdaddr_t bdaddr; |