aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/identity/identity_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index 3c8dc49b1..598f6085f 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -311,7 +311,7 @@ check_identity_result_code (void *cls,
311 311
312 if (0 == size) 312 if (0 == size)
313 return GNUNET_OK; 313 return GNUNET_OK;
314 if ('\0' != str[size - sizeof (*rcm) - 1]) 314 if ('\0' != str[size - 1])
315 { 315 {
316 GNUNET_break (0); 316 GNUNET_break (0);
317 return GNUNET_SYSERR; 317 return GNUNET_SYSERR;