[svn] gpgme - r1240 - trunk/gpgme

svn author marcus cvs at cvs.gnupg.org
Mon Jul 16 19:47:30 CEST 2007


Author: marcus
Date: 2007-07-16 19:47:00 +0200 (Mon, 16 Jul 2007)
New Revision: 1240

Modified:
   trunk/gpgme/w32-io.c
Log:
Fixed last change.


Modified: trunk/gpgme/w32-io.c
===================================================================
--- trunk/gpgme/w32-io.c	2007-07-16 17:27:49 UTC (rev 1239)
+++ trunk/gpgme/w32-io.c	2007-07-16 17:47:00 UTC (rev 1240)
@@ -570,10 +570,10 @@
 destroy_writer (struct writer_context_s *c)
 {
     LOCK (c->mutex);
-    ctx->refcount--;
-    if (ctx->refcount != 0)
+    c->refcount--;
+    if (c->refcount != 0)
       {
-	UNLOCK (ctx->mutex);
+	UNLOCK (c->mutex);
 	return;
       }
     c->stop_me = 1;




More information about the Gnupg-commits mailing list