[axel-commits] r81 - /branches/2.x/axel.c /trunk/axel.c

appaji at users.alioth.debian.org appaji at users.alioth.debian.org
Sat Jan 3 11:07:00 UTC 2009


Author: appaji
Date: Sat Jan  3 11:07:00 2009
New Revision: 81

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

Modified:
    branches/2.x/axel.c
    trunk/axel.c

Modified: branches/2.x/axel.c
URL: http://svn.debian.org/wsvn/axel/branches/2.x/axel.c?rev=81&op=diff
==============================================================================
--- branches/2.x/axel.c (original)
+++ branches/2.x/axel.c Sat Jan  3 11:07:00 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;

Modified: trunk/axel.c
URL: http://svn.debian.org/wsvn/axel/trunk/axel.c?rev=81&op=diff
==============================================================================
--- trunk/axel.c (original)
+++ trunk/axel.c Sat Jan  3 11:07:00 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