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
This commit is contained in:
parent
eb9c6bd38a
commit
25ae4a6a68
@ -72,8 +72,9 @@ DumpInfo(LocalDevice* device)
|
|||||||
simpleDiscoveryListener* dListener = new simpleDiscoveryListener(device);
|
simpleDiscoveryListener* dListener = new simpleDiscoveryListener(device);
|
||||||
|
|
||||||
dAgent->StartInquiry(BT_GIAC, dListener);
|
dAgent->StartInquiry(BT_GIAC, dListener);
|
||||||
|
|
||||||
(void)receive_data(NULL, NULL, 0);
|
thread_id sender;
|
||||||
|
(void)receive_data(&sender, NULL, 0);
|
||||||
|
|
||||||
printf("Retrieving names ...\n");
|
printf("Retrieving names ...\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user