diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-18 18:47:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-18 18:47:35 +0000 |
commit | d60f8dc49ca5d8f369469611c66e59ca9b06180d (patch) | |
tree | 7f57f9ac1c6b48ebd365d161585f6eb8463c2e42 | |
parent | 397b5c300a1c0ea3521191c69a325f6d9166ebb0 (diff) | |
download | gnunet-d60f8dc49ca5d8f369469611c66e59ca9b06180d.tar.gz gnunet-d60f8dc49ca5d8f369469611c66e59ca9b06180d.zip |
-style fix
-rw-r--r-- | src/hello/hello.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c index 37acc5996..3a4eec8be 100644 --- a/src/hello/hello.c +++ b/src/hello/hello.c | |||
@@ -183,7 +183,7 @@ get_hello_address_size (const char *buf, | |||
183 | pos++; | 183 | pos++; |
184 | slen++; | 184 | slen++; |
185 | } | 185 | } |
186 | if (left == 0) | 186 | if (0 == left) |
187 | { | 187 | { |
188 | /* 0-termination not found */ | 188 | /* 0-termination not found */ |
189 | GNUNET_break_op (0); | 189 | GNUNET_break_op (0); |
@@ -300,7 +300,7 @@ GNUNET_HELLO_iterate_addresses (const struct GNUNET_HELLO_Message *msg, | |||
300 | while (insize > 0) | 300 | while (insize > 0) |
301 | { | 301 | { |
302 | esize = get_hello_address_size (inptr, insize, &alen); | 302 | esize = get_hello_address_size (inptr, insize, &alen); |
303 | if (esize == 0) | 303 | if (0 == esize) |
304 | { | 304 | { |
305 | GNUNET_break (0); | 305 | GNUNET_break (0); |
306 | GNUNET_free_non_null (ret); | 306 | GNUNET_free_non_null (ret); |