aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_api.c4
-rw-r--r--src/core/gnunet-service-core.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c
index a2e0dae09..f4a197909 100644
--- a/src/core/core_api.c
+++ b/src/core/core_api.c
@@ -1728,6 +1728,10 @@ GNUNET_CORE_peer_request_connect (struct GNUNET_CORE_Handle *h,
1728 struct GNUNET_CORE_PeerRequestHandle *ret; 1728 struct GNUNET_CORE_PeerRequestHandle *ret;
1729 struct ControlMessage *cm; 1729 struct ControlMessage *cm;
1730 struct ConnectMessage *msg; 1730 struct ConnectMessage *msg;
1731
1732 if (NULL != GNUNET_CONTAINER_multihashmap_get (h->peers,
1733 &peer->hashPubKey))
1734 GNUNET_log_from (GNUNET_ERROR_TYPE_WARNING, "core_api", "Received CONNECT requests for already connected peer!\n");
1731 1735
1732 cm = GNUNET_malloc (sizeof (struct ControlMessage) + 1736 cm = GNUNET_malloc (sizeof (struct ControlMessage) +
1733 sizeof (struct ConnectMessage)); 1737 sizeof (struct ConnectMessage));
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 410d65b93..4519991b3 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -3336,9 +3336,9 @@ process_hello_retry_handle_set_key (void *cls,
3336 3336
3337 if (err_msg != NULL) 3337 if (err_msg != NULL)
3338 { 3338 {
3339 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3339 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
3340 _("Error in communication with PEERINFO service\n")); 3340 _("Error in communication with PEERINFO service\n"));
3341 /* return; */ 3341 /* return; */
3342 } 3342 }
3343 3343
3344 if (peer == NULL) 3344 if (peer == NULL)