From 25ae4a6a68e1b85eb81c3b67f427dcf15b7f7a04 Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Thu, 24 Jul 2008 18:28:27 +0000 Subject: [PATCH] Prevent softfault, although I would like not to have to declare the sender if I dont care... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26612 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/bt_discovery.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/bt_discovery.cpp b/src/bin/bt_discovery.cpp index 7cce3dfe09..1ceead9cd1 100644 --- a/src/bin/bt_discovery.cpp +++ b/src/bin/bt_discovery.cpp @@ -72,8 +72,9 @@ DumpInfo(LocalDevice* device) simpleDiscoveryListener* dListener = new simpleDiscoveryListener(device); dAgent->StartInquiry(BT_GIAC, dListener); - - (void)receive_data(NULL, NULL, 0); + + thread_id sender; + (void)receive_data(&sender, NULL, 0); printf("Retrieving names ...\n");