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:
parent
2664e0ee70
commit
326370ba48
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue