Pass through void* arg in zrtp_thread_create

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
This commit is contained in:
Viktor Krykun 2012-06-13 15:23:30 +03:00 committed by Travis Cross
parent 2664e0ee70
commit 326370ba48
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ int zrtp_sleep(unsigned int msec)
int zrtp_thread_create(zrtp_thread_routine_t start_routine, void *arg)
{
pthread_t thread;
return pthread_create(&thread, NULL, start_routine, NULL);
return pthread_create(&thread, NULL, start_routine, arg);
}
#endif