diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-06-17 20:36:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-06-17 20:36:41 +0000 |
commit | 731ecf2a3921122444607d3ab65629b3079e8f50 (patch) | |
tree | b03cfd8c54c0fe6b5e6f39a7052f88a08e0827cb /src/conversation/gnunet-service-conversation.c | |
parent | 61881ced3c4816fc1440217631d75ac934e92f35 (diff) | |
download | gnunet-731ecf2a3921122444607d3ab65629b3079e8f50.tar.gz gnunet-731ecf2a3921122444607d3ab65629b3079e8f50.zip |
-check return value
Diffstat (limited to 'src/conversation/gnunet-service-conversation.c')
-rw-r--r-- | src/conversation/gnunet-service-conversation.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/conversation/gnunet-service-conversation.c b/src/conversation/gnunet-service-conversation.c index ef0c0c95d..59e5737b7 100644 --- a/src/conversation/gnunet-service-conversation.c +++ b/src/conversation/gnunet-service-conversation.c | |||
@@ -736,9 +736,10 @@ handle_client_call_message (void *cls, | |||
736 | ring->target = msg->target; | 736 | ring->target = msg->target; |
737 | ring->source = my_identity; | 737 | ring->source = my_identity; |
738 | ring->expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_relative_to_absolute (RING_TIMEOUT)); | 738 | ring->expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_relative_to_absolute (RING_TIMEOUT)); |
739 | GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id, | 739 | GNUNET_assert (GNUNET_OK == |
740 | &ring->purpose, | 740 | GNUNET_CRYPTO_ecdsa_sign (&msg->caller_id, |
741 | &ring->signature); | 741 | &ring->purpose, |
742 | &ring->signature)); | ||
742 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 743 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
743 | "Sending RING message via cadet\n"); | 744 | "Sending RING message via cadet\n"); |
744 | GNUNET_MQ_send (ch->reliable_mq, e); | 745 | GNUNET_MQ_send (ch->reliable_mq, e); |