aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/ats_api_performance.c3
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