diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-10 09:24:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-10 09:24:58 +0000 |
commit | 5380874d6e9ed59c5115bd6ca1d4296aa13176b1 (patch) | |
tree | 9d2ea7ce41d1fb4c7e8a9aad99406383e176eb07 /src/core | |
parent | 2c11dcfd682912d8f898cab9d8c5f8c3ed98088c (diff) | |
download | gnunet-5380874d6e9ed59c5115bd6ca1d4296aa13176b1.tar.gz gnunet-5380874d6e9ed59c5115bd6ca1d4296aa13176b1.zip |
-allow outbound monitoring of self-loop messages without bitching
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_api.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 18bfde7a9..526dc9fff 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -983,12 +983,6 @@ main_notify_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
983 | return; | 983 | return; |
984 | } | 984 | } |
985 | ntm = (const struct NotifyTrafficMessage *) msg; | 985 | ntm = (const struct NotifyTrafficMessage *) msg; |
986 | if (0 == memcmp (&h->me, &ntm->peer, sizeof (struct GNUNET_PeerIdentity))) | ||
987 | { | ||
988 | /* self-change!? */ | ||
989 | GNUNET_break (0); | ||
990 | return; | ||
991 | } | ||
992 | ats_count = ntohl (ntm->ats_count); | 986 | ats_count = ntohl (ntm->ats_count); |
993 | if ((msize < | 987 | if ((msize < |
994 | sizeof (struct NotifyTrafficMessage) + | 988 | sizeof (struct NotifyTrafficMessage) + |