aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-02-01 23:22:16 +0100
committerChristian Grothoff <christian@grothoff.org>2024-02-01 23:22:16 +0100
commitb4981044cb20c74f1b9010ab52567e874de356e2 (patch)
treeb1338d4aa8a72a676ec19ccbe196a918124ed31f
parenta867291ea863948c604ebeeb1f6ffd3e684bb75b (diff)
-use named constant
-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,