diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 0ae3b4ce..1dcc51c8 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -1547,12 +1547,12 @@ url_handler (void *cls, (url_found) ) return TALER_MHD_reply_with_error (connection, MHD_HTTP_METHOD_NOT_ALLOWED, - TALER_EC_METHOD_INVALID, + TALER_EC_GENERIC_METHOD_INVALID, method); if (NULL == hc->rh) return TALER_MHD_reply_with_error (connection, MHD_HTTP_NOT_FOUND, - TALER_EC_ENDPOINT_UNKNOWN, + TALER_EC_GENERIC_ENDPOINT_UNKNOWN, hc->url); } } @@ -1562,7 +1562,7 @@ url_handler (void *cls, (GNUNET_YES != hc->rh->skip_instance) ) return TALER_MHD_reply_with_error (connection, MHD_HTTP_NOT_FOUND, - TALER_EC_INSTANCE_UNKNOWN, + TALER_EC_MERCHANT_GENERIC_INSTANCE_UNKNOWN, url); hc->has_body = ( (0 == strcasecmp (method, MHD_HTTP_METHOD_POST)) || @@ -1597,7 +1597,7 @@ url_handler (void *cls, GNUNET_break_op (0); return TALER_MHD_reply_with_error (connection, MHD_HTTP_PAYLOAD_TOO_LARGE, - TALER_EC_UPLOAD_EXCEEDS_LIMIT, + TALER_EC_GENERIC_UPLOAD_EXCEEDS_LIMIT, cl); } } |