rcb, not rc
authorChristian Grothoff <christian@grothoff.org>
Fri, 14 Oct 2011 09:40:08 +0000 (09:40 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 14 Oct 2011 09:40:08 +0000 (09:40 +0000)
src/ats/ats_api_performance.c

index 845fe2117a67b264abbb586c43abf62077ebf9da..2cae8a51ffa59e973eb9325fdfec5cf2b0622e2c 100644 (file)
@@ -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,