From 326370ba48a10f8f6f005200d597a2724c44b7c2 Mon Sep 17 00:00:00 2001 From: Viktor Krykun Date: Wed, 13 Jun 2012 15:23:30 +0300 Subject: [PATCH] Pass through void* arg in zrtp_thread_create Modified-by: Travis Cross Signed-off-by: Travis Cross --- libs/libzrtp/src/zrtp_iface_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libzrtp/src/zrtp_iface_scheduler.c b/libs/libzrtp/src/zrtp_iface_scheduler.c index ee7bb3d763..715c584b53 100644 --- a/libs/libzrtp/src/zrtp_iface_scheduler.c +++ b/libs/libzrtp/src/zrtp_iface_scheduler.c @@ -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