diff options
| -rw-r--r-- | dirmngr/dirmngr_ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dirmngr_ldap.c b/dirmngr/dirmngr_ldap.c index 5fc260d74..1b19a5413 100644 --- a/dirmngr/dirmngr_ldap.c +++ b/dirmngr/dirmngr_ldap.c @@ -390,7 +390,7 @@ set_timeout (void) /* Initially set the timer. */ SetWaitableTimer (timer, &due_time, 0, NULL, NULL, 0); - if (CreateThread (&sec_attr, 0, alarm_thread, timer, 0, &tid)) + if (!CreateThread (&sec_attr, 0, alarm_thread, timer, 0, &tid)) log_error ("failed to create alarm thread\n"); } else /* Retrigger the timer. */ |
