summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Novak <anovak@thinstuff.com>2013-08-16 10:50:07 +0200
committerBernhard Miklautz <bmiklautz@thinstuff.at>2013-08-26 20:16:06 +0200
commitebff396e9067968cc3e2c88d3b6f0e0425270cd9 (patch)
tree912085101ae41dc20374a4a6c4ba89aa9dc80f1f
parentc3923afa1f72cc8963b641472dd91bcaa99785bf (diff)
downloadfreerdp-ebff396e9067968cc3e2c88d3b6f0e0425270cd9.tar.gz
freerdp-ebff396e9067968cc3e2c88d3b6f0e0425270cd9.tar.bz2
freerdp-ebff396e9067968cc3e2c88d3b6f0e0425270cd9.zip
Fixed compilation error, now using WaitForMultipleObjects.
-rw-r--r--channels/smartcard/client/smartcard_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/smartcard/client/smartcard_main.c b/channels/smartcard/client/smartcard_main.c
index 4efff88ff..855df3ff0 100644
--- a/channels/smartcard/client/smartcard_main.c
+++ b/channels/smartcard/client/smartcard_main.c
@@ -128,7 +128,7 @@ static void* smartcard_thread_func(void* arg)
while (1)
{
- DWORD status = WaitForSingleObject(2, ev, FALSE, INFINITE);
+ DWORD status = WaitForMultipleObjects(2, ev, FALSE, INFINITE);
if (status == WAIT_OBJECT_0 + 1)
break;