From 053bfba60e94893384a148addfaf325c3dad8886 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 5 Oct 2010 15:49:28 +0000 Subject: [PATCH] bug correction (uninitialized value caused SIGSEGV) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3613 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- src/util/bdthreads.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/bdthreads.cc b/src/util/bdthreads.cc index b479242..b7990f1 100644 --- a/src/util/bdthreads.cc +++ b/src/util/bdthreads.cc @@ -75,8 +75,7 @@ bdThread::bdThread() void bdThread::join() /* waits for the the mTid thread to stop */ { - void *ptr; - pthread_join(mTid, &ptr); + pthread_join(mTid, NULL); } void bdThread::stop()