[axel-commits] r82 - /trunk/axel.c

phihag-guest at users.alioth.debian.org phihag-guest at users.alioth.debian.org
Sat Jan 3 14:31:04 UTC 2009


Author: phihag-guest
Date: Sat Jan  3 14:31:03 2009
New Revision: 82

URL: http://svn.debian.org/wsvn/axel/?sc=1&rev=82
Log:
pthread_join expects a thread and not a pointer to the thread.
Fix in trunk patch.


Modified:
    trunk/axel.c

Modified: trunk/axel.c
URL: http://svn.debian.org/wsvn/axel/trunk/axel.c?rev=82&op=diff
==============================================================================
--- trunk/axel.c (original)
+++ trunk/axel.c Sat Jan  3 14:31:03 2009
@@ -388,7 +388,7 @@
 			if( axel->conn[i].state == 0 )
 			{	
 				// Wait for termination of this thread
-				pthread_join((axel->conn[i].setup_thread), NULL);
+				pthread_join(*(axel->conn[i].setup_thread), NULL);
 				
 				conn_set( &axel->conn[i], axel->url->text );
 				axel->url = axel->url->next;




More information about the axel-commits mailing list