diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-20 01:37:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-20 01:37:49 +0100 |
commit | e090d69cb0b7d1a4ce58256d500f3b29f84341f6 (patch) | |
tree | f0527388c2358dec6ef618fd41a87fe1797178ac | |
parent | 859337eabba5762ab6dd5e9a77ab50f189a0711d (diff) | |
download | exchange-e090d69cb0b7d1a4ce58256d500f3b29f84341f6.tar.xz |
fix
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index a0472d508..76471fff6 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -1922,8 +1922,7 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now, (internal_key_state->next_reload.abs_value_us <= now.abs_value_us) ) || (NULL == internal_key_state) ) { - struct TEH_KS_StateHandle *os = internal_key_state; - + os = internal_key_state; internal_key_state = make_fresh_key_state (now); internal_key_state->refcnt = 1; /* alias from #internal_key_state */ if (NULL != os) |