summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c b/src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c
index 747e30cd..e109f01f 100644
--- a/src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-otp-devices-ID.c
@@ -53,7 +53,7 @@ TMH_private_get_otp_devices_ID (const struct TMH_RequestHandler *rh,
TALER_EC_GENERIC_DB_FETCH_FAILED,
"select_otp");
}
- if (0 == qs)
+ if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
{
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_NOT_FOUND,