From: Viktor Krykun Date: Wed, 13 Jun 2012 12:23:30 +0000 (+0300) Subject: Pass through void* arg in zrtp_thread_create X-Git-Tag: v1.3.13~60^2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=326370ba48a10f8f6f005200d597a2724c44b7c2;p=thirdparty%2Ffreeswitch.git Pass through void* arg in zrtp_thread_create Modified-by: Travis Cross Signed-off-by: Travis Cross --- 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