aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-03 11:27:14 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-03 11:27:14 +0000
commit31fa7ff21510bad20198b2e6d2b93d62d7624394 (patch)
tree13f4cbacee4a266b6908a5fef47fa2382785b56c /src/transport
parent214038fae7d60dc443e823009c1fc942d0560aa4 (diff)
downloadgnunet-31fa7ff21510bad20198b2e6d2b93d62d7624394.tar.gz
gnunet-31fa7ff21510bad20198b2e6d2b93d62d7624394.zip
-enable lm building
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-service-transport_hello.c2
-rw-r--r--src/transport/gnunet-service-transport_validation.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/gnunet-service-transport_hello.c b/src/transport/gnunet-service-transport_hello.c
index 3e80aec02..3838c511a 100644
--- a/src/transport/gnunet-service-transport_hello.c
+++ b/src/transport/gnunet-service-transport_hello.c
@@ -177,7 +177,7 @@ refresh_hello_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
177 GNUNET_NO); 177 GNUNET_NO);
178 if (NULL != hello_cb) 178 if (NULL != hello_cb)
179 hello_cb (hello_cb_cls, GST_hello_get ()); 179 hello_cb (hello_cb_cls, GST_hello_get ());
180 GNUNET_PEERINFO_add_peer (GST_peerinfo, our_hello); 180 GNUNET_PEERINFO_add_peer (GST_peerinfo, our_hello, NULL, NULL);
181 hello_task = 181 hello_task =
182 GNUNET_SCHEDULER_add_delayed (HELLO_REFRESH_PERIOD, &refresh_hello_task, 182 GNUNET_SCHEDULER_add_delayed (HELLO_REFRESH_PERIOD, &refresh_hello_task,
183 NULL); 183 NULL);
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c
index 99db00561..75ff4eb6f 100644
--- a/src/transport/gnunet-service-transport_validation.c
+++ b/src/transport/gnunet-service-transport_validation.c
@@ -1104,7 +1104,7 @@ GST_validation_handle_pong (const struct GNUNET_PeerIdentity *sender,
1104 /* build HELLO to store in PEERINFO */ 1104 /* build HELLO to store in PEERINFO */
1105 ve->copied = GNUNET_NO; 1105 ve->copied = GNUNET_NO;
1106 hello = GNUNET_HELLO_create (&ve->public_key, &add_valid_peer_address, ve); 1106 hello = GNUNET_HELLO_create (&ve->public_key, &add_valid_peer_address, ve);
1107 GNUNET_PEERINFO_add_peer (GST_peerinfo, hello); 1107 GNUNET_PEERINFO_add_peer (GST_peerinfo, hello, NULL, NULL);
1108 GNUNET_free (hello); 1108 GNUNET_free (hello);
1109} 1109}
1110 1110
@@ -1135,7 +1135,7 @@ GST_validation_handle_hello (const struct GNUNET_MessageHeader *hello)
1135 return; 1135 return;
1136 /* Add peer identity without addresses to peerinfo service */ 1136 /* Add peer identity without addresses to peerinfo service */
1137 h = GNUNET_HELLO_create (&vac.public_key, NULL, NULL); 1137 h = GNUNET_HELLO_create (&vac.public_key, NULL, NULL);
1138 GNUNET_PEERINFO_add_peer (GST_peerinfo, h); 1138 GNUNET_PEERINFO_add_peer (GST_peerinfo, h, NULL, NULL);
1139#if VERBOSE_VALIDATION 1139#if VERBOSE_VALIDATION
1140 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1140 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1141 _("Adding `%s' without addresses for peer `%s'\n"), "HELLO", 1141 _("Adding `%s' without addresses for peer `%s'\n"), "HELLO",