projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-svn ignore
[oweals/gnunet.git]
/
src
/
hello
/
address.c
diff --git
a/src/hello/address.c
b/src/hello/address.c
index 618aa6e6adae94567e8308d5bfc505ed44a59388..893a6dc9113e4db3ae5b11467d23381f67479cd7 100644
(file)
--- a/
src/hello/address.c
+++ b/
src/hello/address.c
@@
-46,6
+46,8
@@
GNUNET_HELLO_address_allocate (const struct GNUNET_PeerIdentity *peer,
size_t slen;
char *end;
size_t slen;
char *end;
+ GNUNET_assert (transport_name != NULL);
+
slen = strlen (transport_name) + 1;
addr =
GNUNET_malloc (sizeof (struct GNUNET_HELLO_Address) + address_length +
slen = strlen (transport_name) + 1;
addr =
GNUNET_malloc (sizeof (struct GNUNET_HELLO_Address) + address_length +