]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Pass through void* arg in zrtp_thread_create
authorViktor Krykun <viktor@krykun.com>
Wed, 13 Jun 2012 12:23:30 +0000 (15:23 +0300)
committerTravis Cross <tc@traviscross.com>
Mon, 11 Feb 2013 16:41:47 +0000 (16:41 +0000)
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
libs/libzrtp/src/zrtp_iface_scheduler.c

index ee7bb3d763fb9236de857a13911eb533b513422d..715c584b532864e50a6341fd2465a5ef6f08d3f7 100644 (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