From: Werner Koch Date: Wed, 14 Mar 2001 13:51:30 +0000 (+0000) Subject: Fixed syntax error X-Git-Tag: gpgme-0-2-1~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=10b3a86f83cfcfdeb492cf94b7464071932108fc;p=gpgme.git Fixed syntax error --- diff --git a/gpgme/w32-io.c b/gpgme/w32-io.c index 4e2c1c9..bfa0ad6 100644 --- a/gpgme/w32-io.c +++ b/gpgme/w32-io.c @@ -269,11 +269,11 @@ create_reader (HANDLE fd) static void destroy_reader (struct reader_context_s *c) { - LOCK (c->mutex) + LOCK (c->mutex); c->stop_me = 1; if (c->have_space_ev) SetEvent (c->have_space_ev); - UNLOCK (c->mutex) + UNLOCK (c->mutex); DEBUG1 ("waiting for thread %p termination ...", c->thread_hd ); WaitForSingleObject (c->stopped, INFINITE); @@ -522,11 +522,11 @@ create_writer (HANDLE fd) static void destroy_writer (struct writer_context_s *c) { - LOCK (c->mutex) + LOCK (c->mutex); c->stop_me = 1; if (c->have_data) SetEvent (c->have_data); - UNLOCK (c->mutex) + UNLOCK (c->mutex); DEBUG1 ("waiting for thread %p termination ...", c->thread_hd ); WaitForSingleObject (c->stopped, INFINITE);