aboutsummaryrefslogtreecommitdiff
path: root/src/hello/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hello/hello.c')
-rw-r--r--src/hello/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c
index 06142535b..abcc25c71 100644
--- a/src/hello/hello.c
+++ b/src/hello/hello.c
@@ -126,7 +126,7 @@ get_hello_address_size (const char *buf, size_t max, uint16_t * ralen)
126 pos++; 126 pos++;
127 slen++; 127 slen++;
128 } 128 }
129 if ('\0' != *pos) 129 if (left == 0)
130 { 130 {
131 /* 0-termination not found */ 131 /* 0-termination not found */
132 GNUNET_break_op (0); 132 GNUNET_break_op (0);