diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-03 14:34:45 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-03 14:34:45 +0000 |
commit | c7842a761406fd93f4caabd8f61602b0965e423c (patch) | |
tree | f0192898b85ba2d2b67c04e9b9dade16da889c2e /src/ats | |
parent | c53ecdc2c2f3a3826b3af83e71353379aace43ae (diff) | |
download | gnunet-c7842a761406fd93f4caabd8f61602b0965e423c.tar.gz gnunet-c7842a761406fd93f4caabd8f61602b0965e423c.zip |
check in proportional
Diffstat (limited to 'src/ats')
-rw-r--r-- | src/ats/libgnunet_plugin_ats_proportional.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ats/libgnunet_plugin_ats_proportional.c b/src/ats/libgnunet_plugin_ats_proportional.c index ab259c118..638a35256 100644 --- a/src/ats/libgnunet_plugin_ats_proportional.c +++ b/src/ats/libgnunet_plugin_ats_proportional.c | |||
@@ -1252,6 +1252,13 @@ GAS_proportional_address_delete (void *solver, struct ATS_Address *address, | |||
1252 | * - update quotas | 1252 | * - update quotas |
1253 | */ | 1253 | */ |
1254 | asi = address->solver_information; | 1254 | asi = address->solver_information; |
1255 | |||
1256 | if (NULL == asi) | ||
1257 | { | ||
1258 | GNUNET_break (0); | ||
1259 | return; | ||
1260 | } | ||
1261 | |||
1255 | net = asi->network; | 1262 | net = asi->network; |
1256 | 1263 | ||
1257 | if (GNUNET_NO == session_only) | 1264 | if (GNUNET_NO == session_only) |