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 | |
parent | 1c552e497415dcb24999b4b0245b2af0e2badd7e (diff) | |
download | gnunet-2004f7dccb69cc461a694c10a50e4a650ff83743.tar.gz gnunet-2004f7dccb69cc461a694c10a50e4a650ff83743.zip |
- clang
Diffstat (limited to 'src/ats')
-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 31b032f72..b3d644023 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, | |||
1020 | size_t namelen; | 1020 | size_t namelen; |
1021 | size_t msize; | 1021 | size_t msize; |
1022 | 1022 | ||
1023 | if (address == NULL) | ||
1024 | { | ||
1025 | GNUNET_break (0); | ||
1026 | return; | ||
1027 | } | ||
1023 | if ((address == NULL) && (session == NULL)) | 1028 | if ((address == NULL) && (session == NULL)) |
1024 | { | 1029 | { |
1025 | GNUNET_break (0); | 1030 | GNUNET_break (0); |