diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-16 22:45:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-16 22:45:39 +0000 |
commit | 7c994643fe16164b86e0569153a2c9df3ef9d43f (patch) | |
tree | aa4178e9732a414ec217142415097931f6bcf030 /src/hello | |
parent | 83fbefb312a8556c5bdb337bb1da96c327e2c55e (diff) | |
download | gnunet-7c994643fe16164b86e0569153a2c9df3ef9d43f.tar.gz gnunet-7c994643fe16164b86e0569153a2c9df3ef9d43f.zip |
-ignore 2nd FRIEND hello when patching
Diffstat (limited to 'src/hello')
-rw-r--r-- | src/hello/gnunet-hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello/gnunet-hello.c b/src/hello/gnunet-hello.c index 2467f33a8..62977b04a 100644 --- a/src/hello/gnunet-hello.c +++ b/src/hello/gnunet-hello.c | |||
@@ -166,7 +166,7 @@ main (int argc, char *argv[]) | |||
166 | GNUNET_DISK_file_read (fh, buf, fsize)); | 166 | GNUNET_DISK_file_read (fh, buf, fsize)); |
167 | GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_close (fh)); | 167 | GNUNET_assert (GNUNET_OK == GNUNET_DISK_file_close (fh)); |
168 | orig = (struct GNUNET_HELLO_Message *) buf; | 168 | orig = (struct GNUNET_HELLO_Message *) buf; |
169 | if ( (fsize != GNUNET_HELLO_size (orig)) || | 169 | if ( (fsize < GNUNET_HELLO_size (orig)) || |
170 | (GNUNET_OK != GNUNET_HELLO_get_id (orig, | 170 | (GNUNET_OK != GNUNET_HELLO_get_id (orig, |
171 | &pid)) ) | 171 | &pid)) ) |
172 | { | 172 | { |