projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
h_addr is a define in in netdb.h
[oweals/gnunet.git]
/
src
/
transport
/
gnunet-transport.c
diff --git
a/src/transport/gnunet-transport.c
b/src/transport/gnunet-transport.c
index 641261c0523f106ca8f2002fdf4b5b4638bef1dc..f9f6068104e53abef0bd4b8254229dc2ccf86689 100644
(file)
--- a/
src/transport/gnunet-transport.c
+++ b/
src/transport/gnunet-transport.c
@@
-487,7
+487,7
@@
transmit_data (void *cls, size_t size, void *buf)
{
struct GNUNET_MessageHeader *m = buf;
- if ((NULL == buf)
&& (0 == size
))
+ if ((NULL == buf)
|| ((NULL == buf) && (0 == size)
))
{
th = NULL;
return 0;