summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-29 01:25:59 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-29 01:25:59 +0200
commitd326c05e323501bc7917e0454d77d6e0e7938259 (patch)
treee8100536bd55fc21bcb5093dd76baa68ca08ba7f
parent5224f795916b2e5a12859bb0b2b6a0b6fbcda37f (diff)
downloadexchange-d326c05e323501bc7917e0454d77d6e0e7938259.tar.gz
exchange-d326c05e323501bc7917e0454d77d6e0e7938259.tar.bz2
exchange-d326c05e323501bc7917e0454d77d6e0e7938259.zip
fix checks
-rw-r--r--src/lib/exchange_api_melt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_melt.c b/src/lib/exchange_api_melt.c
index 989c6501..72a90dc3 100644
--- a/src/lib/exchange_api_melt.c
+++ b/src/lib/exchange_api_melt.c
@@ -363,7 +363,7 @@ handle_melt_finished (void *cls,
mh->melt_cb (mh->melt_cb_cls,
&hr,
noreveal_index,
- (0 == response_code)
+ (0 == hr.http_status)
? NULL
: &exchange_pub);
mh->melt_cb = NULL;