diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-26 08:00:03 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-26 08:00:03 +0000 |
commit | 67265ae5d369df052fd587306e736169f7f448e1 (patch) | |
tree | 4a28b7ea973b626884c28694d4ced95bda7b1a2b /src/statistics/statistics_api.c | |
parent | e4391016958a0bb2a5b8241531ef2a34f7c55b78 (diff) | |
download | gnunet-67265ae5d369df052fd587306e736169f7f448e1.tar.gz gnunet-67265ae5d369df052fd587306e736169f7f448e1.zip |
- fix for mantis 2273
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r-- | src/statistics/statistics_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 8b61a3bc9..98316bafd 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -1140,6 +1140,8 @@ GNUNET_STATISTICS_watch_cancel (struct GNUNET_STATISTICS_Handle *handle, | |||
1140 | for (i=0;i<handle->watches_size;i++) | 1140 | for (i=0;i<handle->watches_size;i++) |
1141 | { | 1141 | { |
1142 | w = handle->watches[i]; | 1142 | w = handle->watches[i]; |
1143 | if (NULL == w) | ||
1144 | continue; | ||
1143 | if ( (w->proc == proc) && | 1145 | if ( (w->proc == proc) && |
1144 | (w->proc_cls == proc_cls) && | 1146 | (w->proc_cls == proc_cls) && |
1145 | (0 == strcmp (w->name, name)) && | 1147 | (0 == strcmp (w->name, name)) && |