remove option
authorChristian Grothoff <christian@grothoff.org>
Fri, 29 Jul 2011 08:26:57 +0000 (08:26 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 29 Jul 2011 08:26:57 +0000 (08:26 +0000)
src/nse/gnunet-service-nse.c

index 4fea02c3473791b677a3d69b1269f66a153b15d1..40cc70ec39a4487d0f7c5d3f19f532b85e3a8bb6 100644 (file)
 
 #define NODELAYS GNUNET_YES
 
-/**
- * Send messages on connect.
- */
-#define SEND_ON_CONNECT GNUNET_YES
-
 /**
  * Should we generate a histogram with the time stamps of when we received
  * NSE messages to disk? (for performance evaluation only, not useful in
@@ -1141,11 +1136,9 @@ handle_core_connect(void *cls, const struct GNUNET_PeerIdentity *peer,
                                     &peer->hashPubKey,
                                     peer_entry,
                                     GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY);
-#if SEND_ON_CONNECT
   peer_entry->transmit_task = GNUNET_SCHEDULER_add_delayed (get_transmit_delay (-1),
                                                            &transmit_task,
                                                            peer_entry);
-#endif
 }