projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a813924
)
plugin name should never be NULL
author
Christian Grothoff
<christian@grothoff.org>
Mon, 14 Nov 2011 22:40:18 +0000
(22:40 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 14 Nov 2011 22:40:18 +0000
(22:40 +0000)
src/ats/ats_api_scheduling.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api_scheduling.c
b/src/ats/ats_api_scheduling.c
index fa1b6bc26542ca53954ff84d0f252775849dc977..9991049796597e0c1417b8d8ce8780597d04c14c 100644
(file)
--- 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) ||