diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:50:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:50:31 +0000 |
commit | 774467dfa48dea5604aa13ce1358247573dbf79e (patch) | |
tree | e2d205f3b8b3122837199e8c066d1b0c3df45527 /src/cadet | |
parent | 0f3caa49abab25613b9adb60427929882a17eabc (diff) | |
download | gnunet-774467dfa48dea5604aa13ce1358247573dbf79e.tar.gz gnunet-774467dfa48dea5604aa13ce1358247573dbf79e.zip |
-init cfg
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index 101b9e22a..22a8150c4 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -557,7 +557,6 @@ core_init (void *cls, | |||
557 | const struct GNUNET_CONFIGURATION_Handle *c = cls; | 557 | const struct GNUNET_CONFIGURATION_Handle *c = cls; |
558 | static int i = 0; | 558 | static int i = 0; |
559 | 559 | ||
560 | cfg = c; | ||
561 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Core init\n"); | 560 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Core init\n"); |
562 | if (0 != memcmp (identity, &my_full_id, sizeof (my_full_id))) | 561 | if (0 != memcmp (identity, &my_full_id, sizeof (my_full_id))) |
563 | { | 562 | { |
@@ -1804,6 +1803,7 @@ GCP_queue_unlock (struct CadetPeer *peer, struct CadetConnection *c) | |||
1804 | void | 1803 | void |
1805 | GCP_init (const struct GNUNET_CONFIGURATION_Handle *c) | 1804 | GCP_init (const struct GNUNET_CONFIGURATION_Handle *c) |
1806 | { | 1805 | { |
1806 | cfg = c; | ||
1807 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1807 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1808 | "GCP_init\n"); | 1808 | "GCP_init\n"); |
1809 | in_shutdown = GNUNET_NO; | 1809 | in_shutdown = GNUNET_NO; |