gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r2641 - GNUnet/src/util


From: grothoff
Subject: [GNUnet-SVN] r2641 - GNUnet/src/util
Date: Sun, 23 Apr 2006 03:30:12 -0700 (PDT)

Author: grothoff
Date: 2006-04-23 03:30:10 -0700 (Sun, 23 Apr 2006)
New Revision: 2641

Modified:
   GNUnet/src/util/logging.c
Log:
better

Modified: GNUnet/src/util/logging.c
===================================================================
--- GNUnet/src/util/logging.c   2006-04-23 01:16:54 UTC (rev 2640)
+++ GNUnet/src/util/logging.c   2006-04-23 10:30:10 UTC (rev 2641)
@@ -448,16 +448,16 @@
   va_end(args);
   if (bInited)
     MUTEX_UNLOCK(&logMutex);
-  va_start(args, format);
   if (customLog) {
     char * txt;
 
     txt = MALLOC(len + 1);
+    va_start(args, format);
     GNUNET_ASSERT(len == VSNPRINTF(txt, len, format, args));
+    va_end(args);
     customLog(txt);
     FREE(txt);
   }
-  va_end(args);
 }
 
 /**





reply via email to

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