From d0f2d8b42677b578e725cae999db7589fbe35e83 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Mar 2015 15:40:07 +0100 Subject: simplify code structure, reduce exposure of keystate struct --- src/mint/taler-mint-httpd_refresh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mint/taler-mint-httpd_refresh.c') diff --git a/src/mint/taler-mint-httpd_refresh.c b/src/mint/taler-mint-httpd_refresh.c index a5d609ed..c7bda5a7 100644 --- a/src/mint/taler-mint-httpd_refresh.c +++ b/src/mint/taler-mint-httpd_refresh.c @@ -28,7 +28,6 @@ #include "taler_signatures.h" #include "taler_util.h" #include "taler-mint-httpd_parsing.h" -#include "taler-mint-httpd_keys.h" #include "taler-mint-httpd_mhd.h" #include "taler-mint-httpd_refresh.h" #include "taler-mint-httpd_responses.h" @@ -125,8 +124,8 @@ handle_refresh_melt_binary (struct MHD_Connection *connection, } // FIXME: badness, use proper way to set to zero... - key_state = TALER_MINT_key_state_acquire (); memset (&total_cost, 0, sizeof (struct TALER_Amount)); + key_state = TALER_MINT_key_state_acquire (); for (i=0;i