gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32243 - doodle/src/doodle


From: gnunet
Subject: [GNUnet-SVN] r32243 - doodle/src/doodle
Date: Thu, 6 Feb 2014 14:30:54 +0100

Author: grothoff
Date: 2014-02-06 14:30:53 +0100 (Thu, 06 Feb 2014)
New Revision: 32243

Modified:
   doodle/src/doodle/semaphore.c
Log:
-fix #3307

Modified: doodle/src/doodle/semaphore.c
===================================================================
--- doodle/src/doodle/semaphore.c       2014-02-06 08:56:23 UTC (rev 32242)
+++ doodle/src/doodle/semaphore.c       2014-02-06 13:30:53 UTC (rev 32243)
@@ -386,7 +386,7 @@
 
   handle = MALLOC(sizeof(pthread_t));
 #ifdef MINGW
-  memset(handle, sizeof(pthread_t), 0);
+  memset(handle, 0, sizeof(pthread_t));
 #endif
 
   pthread_attr_init(&stack_size_custom_attr);
@@ -395,7 +395,7 @@
   ret = pthread_create(handle,
                       &stack_size_custom_attr,
                       main,
-                      arg);                    
+                      arg);
   if (ret != 0) {
     FREE(handle);
     pt->internal = NULL;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]