aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-05 12:38:05 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-05 12:38:05 +0000
commiteb6cfba7b01459be713171e66043c1b4317cb427 (patch)
tree0f8b238d25c9c1d8550d4261bf795a9caa086f1e /src/testbed/gnunet-service-testbed.c
parent9e6ab20fa33948e18f544fc14f549375b2fabc21 (diff)
downloadgnunet-eb6cfba7b01459be713171e66043c1b4317cb427.tar.gz
gnunet-eb6cfba7b01459be713171e66043c1b4317cb427.zip
be verbose while sending error message instead of emitting a warning
Diffstat (limited to 'src/testbed/gnunet-service-testbed.c')
-rw-r--r--src/testbed/gnunet-service-testbed.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c
index 2e1af39b9..2435ba50e 100644
--- a/src/testbed/gnunet-service-testbed.c
+++ b/src/testbed/gnunet-service-testbed.c
@@ -708,8 +708,9 @@ GST_forwarded_operation_timeout (void *cls,
708 struct ForwardedOperationContext *fopc = cls; 708 struct ForwardedOperationContext *fopc = cls;
709 709
710 GNUNET_TESTBED_forward_operation_msg_cancel_ (fopc->opc); 710 GNUNET_TESTBED_forward_operation_msg_cancel_ (fopc->opc);
711 LOG (GNUNET_ERROR_TYPE_WARNING, "A forwarded operation has timed out\n"); 711 LOG (GNUNET_ERROR_TYPE_DEBUG, "A forwarded operation has timed out\n");
712 GST_send_operation_fail_msg (fopc->client, fopc->operation_id, "Timeout"); 712 GST_send_operation_fail_msg (fopc->client, fopc->operation_id,
713 "A forwarded operation has timed out");
713 GNUNET_SERVER_client_drop (fopc->client); 714 GNUNET_SERVER_client_drop (fopc->client);
714 GNUNET_CONTAINER_DLL_remove (fopcq_head, fopcq_tail, fopc); 715 GNUNET_CONTAINER_DLL_remove (fopcq_head, fopcq_tail, fopc);
715 GNUNET_free (fopc); 716 GNUNET_free (fopc);
@@ -742,7 +743,9 @@ lcf_forwarded_operation_timeout (void *cls,
742 // GST_forwarded_operation_timeout (lcf->fopc, tc); 743 // GST_forwarded_operation_timeout (lcf->fopc, tc);
743 LOG (GNUNET_ERROR_TYPE_WARNING, 744 LOG (GNUNET_ERROR_TYPE_WARNING,
744 "A forwarded controller link operation has timed out\n"); 745 "A forwarded controller link operation has timed out\n");
745 send_controller_link_response (lcf->client, lcf->operation_id, NULL, "Timeout"); 746 send_controller_link_response (lcf->client, lcf->operation_id, NULL,
747 "A forwarded controller link operation has "
748 "timed out\n");
746 GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == lcf_proc_task_id); 749 GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == lcf_proc_task_id);
747 lcf_proc_task_id = GNUNET_SCHEDULER_add_now (&lcf_proc_task, lcf); 750 lcf_proc_task_id = GNUNET_SCHEDULER_add_now (&lcf_proc_task, lcf);
748} 751}