diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-25 14:14:04 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-01-25 14:14:04 +0000 |
commit | 2004f7dccb69cc461a694c10a50e4a650ff83743 (patch) | |
tree | a465189d0174f4b760a45b287097409c3632567d /src/ats/ats_api_scheduling.c | |
parent | 1c552e497415dcb24999b4b0245b2af0e2badd7e (diff) |
- clang
Diffstat (limited to 'src/ats/ats_api_scheduling.c')
-rw-r--r-- | src/ats/ats_api_scheduling.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 31b032f725..b3d6440232 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c @@ -1020,6 +1020,11 @@ GNUNET_ATS_address_update (struct GNUNET_ATS_SchedulingHandle *sh, size_t namelen; size_t msize; + if (address == NULL) + { + GNUNET_break (0); + return; + } if ((address == NULL) && (session == NULL)) { GNUNET_break (0); |