diff options
author | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 19:40:36 +0100 |
---|---|---|
committer | Bart Polot <bart.polot+voyager@gmail.com> | 2017-02-08 19:40:36 +0100 |
commit | 1aa3a2b2beda8e6a8d13da61e0f7c813083bb2bc (patch) | |
tree | b05b6656b0a7e0365edea9c4807a8fa3938e9c5e /src/cadet/cadet_api.c | |
parent | 8508f1ae2108e7b518ae3191b477a2b3b75cd02a (diff) | |
download | gnunet-1aa3a2b2beda8e6a8d13da61e0f7c813083bb2bc.tar.gz gnunet-1aa3a2b2beda8e6a8d13da61e0f7c813083bb2bc.zip |
- code/debug format
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index f55911afa..644f755ec 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -910,7 +910,9 @@ handle_channel_created (void *cls, | |||
910 | &msg->peer, | 910 | &msg->peer, |
911 | port->hash, | 911 | port->hash, |
912 | ch->options); | 912 | ch->options); |
913 | } else { | 913 | } |
914 | else | ||
915 | { | ||
914 | /* MQ API */ | 916 | /* MQ API */ |
915 | GNUNET_assert (NULL != port->connects); | 917 | GNUNET_assert (NULL != port->connects); |
916 | ch->window_changes = port->window_changes; | 918 | ch->window_changes = port->window_changes; |
@@ -1036,8 +1038,9 @@ handle_local_data (void *cls, | |||
1036 | if (NULL != ch->mq) | 1038 | if (NULL != ch->mq) |
1037 | { | 1039 | { |
1038 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1040 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1039 | "injecting msg %s into mq\n", | 1041 | "injecting msg %s into mq %p\n", |
1040 | GC_m2s (ntohs (payload->type))); | 1042 | GC_m2s (ntohs (payload->type)), |
1043 | ch->mq); | ||
1041 | GNUNET_MQ_inject_message (ch->mq, payload); | 1044 | GNUNET_MQ_inject_message (ch->mq, payload); |
1042 | return; | 1045 | return; |
1043 | } | 1046 | } |