aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-20 12:37:31 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-20 12:37:31 +0000
commita73cfc7583145f6733b196763f9bfe8a24985185 (patch)
tree8b04c78b8a1463ad124946b4a91997a74b9a327f /src/ats/ats_api_performance.c
parent22c8a602e7ac8591652231b829cb324a13035f7c (diff)
downloadgnunet-a73cfc7583145f6733b196763f9bfe8a24985185.tar.gz
gnunet-a73cfc7583145f6733b196763f9bfe8a24985185.zip
test
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 34f3a232e..038a349aa 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -607,12 +607,13 @@ process_mr_message (struct GNUNET_ATS_PerformanceHandle *ph,
607 if (id == cur->id) 607 if (id == cur->id)
608 break; 608 break;
609 } 609 }
610 610 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
611 _("Received %s message for id %u\n"), "ATS_MONITOR_RESPONSE", id);
611 if (NULL == cur) 612 if (NULL == cur)
612 { 613 {
613 GNUNET_break (0); 614 GNUNET_break (0);
614 return GNUNET_SYSERR; 615 return GNUNET_SYSERR;
615 } 616 }
616 617
617 ats = (struct GNUNET_ATS_Information *) &mrm[1]; 618 ats = (struct GNUNET_ATS_Information *) &mrm[1];
618 cur->moncb (cur->moncb_cls, &mrm->peer, ats, ats_count); 619 cur->moncb (cur->moncb_cls, &mrm->peer, ats, ats_count);