diff options
author | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-01-25 14:14:04 +0000 |
---|---|---|
committer | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-01-25 14:14:04 +0000 |
commit | 039cd9fba09ca6694deb07450dd6ca25b9661338 (patch) | |
tree | a465189d0174f4b760a45b287097409c3632567d /src/ats/ats_api_scheduling.c | |
parent | e7b3fd40777fec72465495491cc444b681c30fbe (diff) |
- clang
git-svn-id: https://gnunet.org/svn/gnunet@19388 140774ce-b5e7-0310-ab8b-a85725594a96
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); |