commit 094d82ff254a1497237f986ee81ddad936549c5a parent bdcff09ee219e8b301e63abecd758753c394ad5b Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 25 Jun 2016 17:30:47 +0000 -fix bad check Diffstat:
| M | src/identity/identity_api.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c @@ -311,7 +311,7 @@ check_identity_result_code (void *cls, if (0 == size) return GNUNET_OK; - if ('\0' != str[size - sizeof (*rcm) - 1]) + if ('\0' != str[size - 1]) { GNUNET_break (0); return GNUNET_SYSERR;