提交 326370ba authored 作者: Viktor Krykun's avatar Viktor Krykun 提交者: Travis Cross

Pass through void* arg in zrtp_thread_create

Modified-by: 's avatarTravis Cross <tc@traviscross.com>
Signed-off-by: 's avatarTravis Cross <tc@traviscross.com>
上级 2664e0ee
...@@ -100,7 +100,7 @@ int zrtp_sleep(unsigned int msec) ...@@ -100,7 +100,7 @@ int zrtp_sleep(unsigned int msec)
int zrtp_thread_create(zrtp_thread_routine_t start_routine, void *arg) int zrtp_thread_create(zrtp_thread_routine_t start_routine, void *arg)
{ {
pthread_t thread; pthread_t thread;
return pthread_create(&thread, NULL, start_routine, NULL); return pthread_create(&thread, NULL, start_routine, arg);
} }
#endif #endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论