diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-20 08:17:38 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-20 08:17:38 +0000 |
commit | 55a936b8e6ce4eaaba2fe9077e438875cab7209c (patch) | |
tree | d5cd48983a85a9a2c3648e7259f29c4f6feff5be /src/ats/ats_api_performance.c | |
parent | 0f8b8d96afa2e2bf69bb0da67c83661524997af2 (diff) | |
download | gnunet-55a936b8e6ce4eaaba2fe9077e438875cab7209c.tar.gz gnunet-55a936b8e6ce4eaaba2fe9077e438875cab7209c.zip |
mod
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r-- | src/ats/ats_api_performance.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index f29cced6c..cbf18a0cc 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c | |||
@@ -740,6 +740,9 @@ GNUNET_ATS_performance_monitor_start (struct GNUNET_ATS_PerformanceHandle * ph, | |||
740 | struct PendingMessage *p; | 740 | struct PendingMessage *p; |
741 | GNUNET_assert (NULL != ph); | 741 | GNUNET_assert (NULL != ph); |
742 | 742 | ||
743 | if (NULL == monitor_cb) | ||
744 | return NULL; | ||
745 | |||
743 | struct GNUNET_ATS_PerformanceMonitorHandle *phm = | 746 | struct GNUNET_ATS_PerformanceMonitorHandle *phm = |
744 | GNUNET_malloc (sizeof (struct GNUNET_ATS_PerformanceMonitorHandle)); | 747 | GNUNET_malloc (sizeof (struct GNUNET_ATS_PerformanceMonitorHandle)); |
745 | 748 | ||