diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-02 10:25:27 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-04-02 10:25:27 +0000 |
commit | 41d7bd8d2a4c54984366bd4493453f3f40a66624 (patch) | |
tree | 0bf5666560a69f3513be259fa26c3149f7f0aca8 /src/hello/gnunet-hello.c | |
parent | bc943e8ca08fb36ecfb51f2efd362838b2e3d7ae (diff) | |
download | gnunet-41d7bd8d2a4c54984366bd4493453f3f40a66624.tar.gz gnunet-41d7bd8d2a4c54984366bd4493453f3f40a66624.zip |
-fix compile warning
Diffstat (limited to 'src/hello/gnunet-hello.c')
-rw-r--r-- | src/hello/gnunet-hello.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hello/gnunet-hello.c b/src/hello/gnunet-hello.c index 7df8b7b83..b20279c1d 100644 --- a/src/hello/gnunet-hello.c +++ b/src/hello/gnunet-hello.c | |||
@@ -169,9 +169,9 @@ main (int argc, char *argv[]) | |||
169 | return 1; | 169 | return 1; |
170 | } | 170 | } |
171 | friend_only = GNUNET_NO; | 171 | friend_only = GNUNET_NO; |
172 | if (GNUNET_MESSAGE_TYPE_HELLO == GNUNET_HELLO_get_type ((struct GNUNET_MessageHeader *) orig)) | 172 | if (GNUNET_MESSAGE_TYPE_HELLO == GNUNET_HELLO_get_type (orig)) |
173 | friend_only = GNUNET_NO; | 173 | friend_only = GNUNET_NO; |
174 | if (GNUNET_MESSAGE_TYPE_FRIEND_HELLO == GNUNET_HELLO_get_type ((struct GNUNET_MessageHeader *) orig)) | 174 | if (GNUNET_MESSAGE_TYPE_FRIEND_HELLO == GNUNET_HELLO_get_type (orig)) |
175 | friend_only = GNUNET_YES; | 175 | friend_only = GNUNET_YES; |
176 | result = GNUNET_HELLO_create (&pk, &add_from_hello, &orig, friend_only); | 176 | result = GNUNET_HELLO_create (&pk, &add_from_hello, &orig, friend_only); |
177 | GNUNET_assert (NULL != result); | 177 | GNUNET_assert (NULL != result); |