diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-18 21:45:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-18 21:45:19 +0000 |
commit | 6aea4726cc1d63e40cda30e626973b89a9bf9980 (patch) | |
tree | b018a8dbe979c8a3bf671ffd6a1899bcba624c89 /src/core/gnunet-service-core_neighbours.c | |
parent | 3b3416293817a7dddf224f7ae95914b3f13a300f (diff) | |
download | gnunet-6aea4726cc1d63e40cda30e626973b89a9bf9980.tar.gz gnunet-6aea4726cc1d63e40cda30e626973b89a9bf9980.zip |
-style fix
Diffstat (limited to 'src/core/gnunet-service-core_neighbours.c')
-rw-r--r-- | src/core/gnunet-service-core_neighbours.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c index 6eff065d9..63ba8dbb6 100644 --- a/src/core/gnunet-service-core_neighbours.c +++ b/src/core/gnunet-service-core_neighbours.c | |||
@@ -316,9 +316,10 @@ handle_transport_notify_connect (void *cls, | |||
316 | GNUNET_break (0); | 316 | GNUNET_break (0); |
317 | return; | 317 | return; |
318 | } | 318 | } |
319 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Received connection from `%4s'.\n", | 319 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
320 | "Received connection from `%4s'.\n", | ||
320 | GNUNET_i2s (peer)); | 321 | GNUNET_i2s (peer)); |
321 | n = GNUNET_malloc (sizeof (struct Neighbour)); | 322 | n = GNUNET_new (struct Neighbour); |
322 | n->peer = *peer; | 323 | n->peer = *peer; |
323 | GNUNET_assert (GNUNET_OK == | 324 | GNUNET_assert (GNUNET_OK == |
324 | GNUNET_CONTAINER_multipeermap_put (neighbours, | 325 | GNUNET_CONTAINER_multipeermap_put (neighbours, |