projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcff09
)
-fix bad check
author
Christian Grothoff
<christian@grothoff.org>
Sat, 25 Jun 2016 17:30:47 +0000
(17:30 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sat, 25 Jun 2016 17:30:47 +0000
(17:30 +0000)
src/identity/identity_api.c
patch
|
blob
|
history
diff --git
a/src/identity/identity_api.c
b/src/identity/identity_api.c
index 3c8dc49b1f62880a0b8de4c4ffdca02469544443..598f6085f4d5af4b96c736dcedaf2f184679d054 100644
(file)
--- 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;