aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c
index 56961deb5..5b13e50ff 100644
--- a/src/namestore/gnunet-namestore-fcfsd.c
+++ b/src/namestore/gnunet-namestore-fcfsd.c
@@ -789,7 +789,11 @@ create_response (void *cls,
789 "message", _ ("unable to process submitted data"), 789 "message", _ ("unable to process submitted data"),
790 NULL); 790 NULL);
791 rd->body_length = strlen (rd->body); 791 rd->body_length = strlen (rd->body);
792#ifdef MHD_HTTP_CONTENT_TOO_LARGE
792 rd->code = MHD_HTTP_CONTENT_TOO_LARGE; 793 rd->code = MHD_HTTP_CONTENT_TOO_LARGE;
794#else
795 rd->code = MHD_HTTP_PAYLOAD_TOO_LARGE;
796#endif
793 return MHD_YES; 797 return MHD_YES;
794 case GNUNET_JSON_PR_JSON_INVALID: 798 case GNUNET_JSON_PR_JSON_INVALID:
795 rd->body = make_json ("error", "true", 799 rd->body = make_json ("error", "true",