From 9627b84dc46049fe0d65ac2d1396da78a3680f21 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 14 Oct 2011 09:40:08 +0000 Subject: rcb, not rc --- src/ats/ats_api_performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ats/ats_api_performance.c') diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index 845fe2117..2cae8a51f 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c @@ -535,7 +535,7 @@ GNUNET_ATS_reserve_bandwidth (struct GNUNET_ATS_PerformanceHandle *ph, rc->peer = *peer; rc->rcb = rcb; rc->rcb_cls = rcb_cls; - if ( (rc != NULL) && (amount > 0) ) + if ( (rcb != NULL) && (amount > 0) ) rc->undo = GNUNET_YES; GNUNET_CONTAINER_DLL_insert_tail (ph->reservation_head, ph->reservation_tail, -- cgit v1.2.3