diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2004-07-22 18:10:03 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2004-07-22 18:10:03 +0000 |
commit | dc56ba1a604a097420843a02cc3d2f851a16b819 (patch) | |
tree | 8dd223922b20483e155482a9baabe6234c927e54 | |
parent | fe823e651e91676ddfbc0d10f00847a8aa35e5ee (diff) |
Retry SDP connect if busy
-rw-r--r-- | cups/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/main.c b/cups/main.c index d43f631b..c6e1deb8 100644 --- a/cups/main.c +++ b/cups/main.c @@ -136,7 +136,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "DEBUG: %s device %s service %s fd %d copies %d\n", argv[0], device, service, fd, copies); - sdp = sdp_connect(BDADDR_ANY, &bdaddr, 0 /*SDP_RETRY_IF_BUSY*/); + sdp = sdp_connect(BDADDR_ANY, &bdaddr, SDP_RETRY_IF_BUSY); if (!sdp) { fprintf(stderr, "ERROR: Can't open Bluetooth connection\n"); return 1; |