summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-08 22:48:33 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-08 22:48:33 +0100
commit7ad562af5596289272cd051e1eb7ea72612147c1 (patch)
treec1e82db170dd1a543350bb4d05b93de3ffb239bb
parent45a7b98d4b06489310691e9a47d3f2c5b2bc450e (diff)
downloadexchange-7ad562af5596289272cd051e1eb7ea72612147c1.tar.gz
exchange-7ad562af5596289272cd051e1eb7ea72612147c1.tar.bz2
exchange-7ad562af5596289272cd051e1eb7ea72612147c1.zip
do not return 0-terminator
-rw-r--r--src/exchange/taler-exchange-httpd_terms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_terms.c b/src/exchange/taler-exchange-httpd_terms.c
index e475a026..53cdca70 100644
--- a/src/exchange/taler-exchange-httpd_terms.c
+++ b/src/exchange/taler-exchange-httpd_terms.c
@@ -231,7 +231,7 @@ TEH_handler_terms (struct TEH_RequestHandler *rh,
.mime_type = "text/plain",
.terms = "Terms of service not configured",
.language = "en",
- .terms_size = sizeof ("Terms of service not configured")
+ .terms_size = strlen ("Terms of service not configured")
};
t = &none;
}