commit - 9439a9901031adbd5c05fec5a5f692144bb3fd53
commit + be96c417e34cf83ef497d65c5eb4dcf44abef57c
blob - 325d7ca7744427ef9afd72d5617c79cca20247cb
blob + 159d313029b27ad7096bea05e36085f057e5a051
--- libexec/got-read-gotconfig/got-read-gotconfig.c
+++ libexec/got-read-gotconfig/got-read-gotconfig.c
static const struct got_error *
send_gotconfig_str(struct imsgbuf *ibuf, const char *value)
{
- size_t len = value ? strlen(value) + 1 : 0;
+ size_t len = value ? strlen(value) : 0;
if (imsg_compose(ibuf, GOT_IMSG_GOTCONFIG_STR_VAL, 0, 0, -1,
value, len) == -1)