aboutsummaryrefslogtreecommitdiff
path: root/hal_internal.h
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-25 17:14:40 -0400
committerRob Austein <sra@hactrn.net>2017-04-25 17:14:40 -0400
commit358b3803cdedad607cf649221d0b7e3ce66b45f2 (patch)
tree9bb11b6b11d9bf9d28797c36c8b161f0702d2fb0 /hal_internal.h
parent4ee44177c6da04e210a52528763b2c96a8f3d824 (diff)
Shake dumb compile-time bugs out of new logout code.
What I get for writing code while build and test environment is tied up with a multi-day run testing something else.
Diffstat (limited to 'hal_internal.h')
-rw-r--r--hal_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hal_internal.h b/hal_internal.h
index f6c31fe..13c79e9 100644
--- a/hal_internal.h
+++ b/hal_internal.h
@@ -696,7 +696,7 @@ static inline hal_error_t hal_ks_logout(hal_ks_t *ks,
if (ks == NULL)
return HAL_ERROR_BAD_ARGUMENTS;
- if (ks->logout == NULL || client.handle == HAL_HANDLE_NONE)
+ if (ks->driver->logout == NULL || client.handle == HAL_HANDLE_NONE)
return HAL_OK;
return ks->driver->logout(ks, client);