fix
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 21 Dec 2010 09:49:47 +0000 (09:49 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 21 Dec 2010 09:49:47 +0000 (09:49 +0000)
src/transport/test_quota_compliance.c

index a4a6692f06b7c2de192ec17345f1f20cd32986db..f48f158782b0ea687f575d8c13a4eebe3a638114 100644 (file)
@@ -415,11 +415,11 @@ measurement_end (void *cls,
                  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                                  "\nQuota measurement failed and no free strike: %i\n",failed_measurement_counter);
                  end();
+                 return;
          }
          else
                  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                                  "\nQuota measurement failed and %i free strikes\n",failed_measurement_counter);
-         return;
   }
 
   /* Throughput is bigger than allowed quota + some extra*/
@@ -441,11 +441,11 @@ measurement_end (void *cls,
                  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                                  "\nQuota measurement failed and no free strike: %i\n",failed_measurement_counter);
                  end();
+                 return;
          }
          else
                  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                                  "\nQuota measurement failed and %i free strikes\n",failed_measurement_counter);
-         return;
   }
   else
   {