summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-14 22:40:18 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-14 22:40:18 +0000
commit12d99c03dca80ffb4f05d54f5ad9933db51d221d (patch)
treecd2255a1dc2c20fb829dba09adde8f2880b438ca /src
parenta8139248067642fed139a88e25db896eb15f9263 (diff)
plugin name should never be NULL
Diffstat (limited to 'src')
-rw-r--r--src/ats/ats_api_scheduling.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c
index fa1b6bc26..999104979 100644
--- a/src/ats/ats_api_scheduling.c
+++ b/src/ats/ats_api_scheduling.c
@@ -822,6 +822,7 @@ GNUNET_ATS_address_destroyed (struct GNUNET_ATS_SchedulingHandle *sh,
size_t msize;
uint32_t session_id;
+ GNUNET_break (address->transport_name != NULL);
namelen = (address->transport_name == NULL) ? 0 : strlen (address->transport_name) + 1;
msize = sizeof (struct AddressDestroyedMessage) + address->address_length + namelen;
if ((msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE) ||