[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4932 - GNUnet/src/applications/advertising
From: |
gnunet |
Subject: |
[GNUnet-SVN] r4932 - GNUnet/src/applications/advertising |
Date: |
Tue, 5 Jun 2007 21:59:28 -0600 (MDT) |
Author: grothoff
Date: 2007-06-05 21:59:27 -0600 (Tue, 05 Jun 2007)
New Revision: 4932
Modified:
GNUnet/src/applications/advertising/advertising.c
Log:
sheer brilliance
Modified: GNUnet/src/applications/advertising/advertising.c
===================================================================
--- GNUnet/src/applications/advertising/advertising.c 2007-06-05 05:30:48 UTC
(rev 4931)
+++ GNUnet/src/applications/advertising/advertising.c 2007-06-06 03:59:27 UTC
(rev 4932)
@@ -235,8 +235,7 @@
ntohs(msg->protocol),
NO);
if (NULL != copy) {
- if ( (sender != NULL) &&
- (ntohs(copy->senderAddressSize) ==
+ if ( (ntohs(copy->senderAddressSize) ==
ntohs(msg->senderAddressSize)) &&
(0 == memcmp(&msg->MTU,
©->MTU,
@@ -288,7 +287,8 @@
}
now = get_time();
- if ( ( (now - lasthelloMsg) / cronSECONDS) *
+ if ( (sender != NULL) &&
+ ( (now - lasthelloMsg) / cronSECONDS) *
(os_network_monitor_get_limit(coreAPI->load_monitor,
Download))
< P2P_hello_MESSAGE_size(msg) * 100 ) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4932 - GNUnet/src/applications/advertising,
gnunet <=