diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_management_wire_enable.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_management_wire_enable.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_management_wire_enable.c b/src/exchange/taler-exchange-httpd_management_wire_enable.c index 00c95b05c..4bad41b40 100644 --- a/src/exchange/taler-exchange-httpd_management_wire_enable.c +++ b/src/exchange/taler-exchange-httpd_management_wire_enable.c | |||
@@ -72,7 +72,6 @@ struct AddWireContext | |||
72 | * | 72 | * |
73 | * @param cls closure with a `struct AddWireContext` | 73 | * @param cls closure with a `struct AddWireContext` |
74 | * @param connection MHD request which triggered the transaction | 74 | * @param connection MHD request which triggered the transaction |
75 | * @param session database session to use | ||
76 | * @param[out] mhd_ret set to MHD response status for @a connection, | 75 | * @param[out] mhd_ret set to MHD response status for @a connection, |
77 | * if transaction failed (!) | 76 | * if transaction failed (!) |
78 | * @return transaction status | 77 | * @return transaction status |
@@ -80,7 +79,6 @@ struct AddWireContext | |||
80 | static enum GNUNET_DB_QueryStatus | 79 | static enum GNUNET_DB_QueryStatus |
81 | add_wire (void *cls, | 80 | add_wire (void *cls, |
82 | struct MHD_Connection *connection, | 81 | struct MHD_Connection *connection, |
83 | struct TALER_EXCHANGEDB_Session *session, | ||
84 | MHD_RESULT *mhd_ret) | 82 | MHD_RESULT *mhd_ret) |
85 | { | 83 | { |
86 | struct AddWireContext *awc = cls; | 84 | struct AddWireContext *awc = cls; |
@@ -88,7 +86,6 @@ add_wire (void *cls, | |||
88 | enum GNUNET_DB_QueryStatus qs; | 86 | enum GNUNET_DB_QueryStatus qs; |
89 | 87 | ||
90 | qs = TEH_plugin->lookup_wire_timestamp (TEH_plugin->cls, | 88 | qs = TEH_plugin->lookup_wire_timestamp (TEH_plugin->cls, |
91 | session, | ||
92 | awc->payto_uri, | 89 | awc->payto_uri, |
93 | &last_date); | 90 | &last_date); |
94 | if (qs < 0) | 91 | if (qs < 0) |
@@ -114,13 +111,11 @@ add_wire (void *cls, | |||
114 | } | 111 | } |
115 | if (0 == qs) | 112 | if (0 == qs) |
116 | qs = TEH_plugin->insert_wire (TEH_plugin->cls, | 113 | qs = TEH_plugin->insert_wire (TEH_plugin->cls, |
117 | session, | ||
118 | awc->payto_uri, | 114 | awc->payto_uri, |
119 | awc->validity_start, | 115 | awc->validity_start, |
120 | &awc->master_sig_wire); | 116 | &awc->master_sig_wire); |
121 | else | 117 | else |
122 | qs = TEH_plugin->update_wire (TEH_plugin->cls, | 118 | qs = TEH_plugin->update_wire (TEH_plugin->cls, |
123 | session, | ||
124 | awc->payto_uri, | 119 | awc->payto_uri, |
125 | awc->validity_start, | 120 | awc->validity_start, |
126 | true); | 121 | true); |