aboutsummaryrefslogtreecommitdiff
path: root/src/hello/hello-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello/hello-ng.c')
-rw-r--r--src/hello/hello-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello/hello-ng.c b/src/hello/hello-ng.c
index 27fd50763..85b304e18 100644
--- a/src/hello/hello-ng.c
+++ b/src/hello/hello-ng.c
@@ -123,7 +123,7 @@ GNUNET_HELLO_extract_address (const void *raw,
123 struct SignedAddress sa; 123 struct SignedAddress sa;
124 struct GNUNET_CRYPTO_EddsaSignature *sig; 124 struct GNUNET_CRYPTO_EddsaSignature *sig;
125 125
126 if ('\0' != raws[raw_size]) 126 if ('\0' != raws[raw_size-1])
127 { 127 {
128 GNUNET_break_op (0); 128 GNUNET_break_op (0);
129 return NULL; 129 return NULL;