change return value to use -1 on error, as 0 is a legal packet size
authorChristian Grothoff <christian@grothoff.org>
Sun, 27 Nov 2016 19:08:48 +0000 (20:08 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sun, 27 Nov 2016 19:08:48 +0000 (20:08 +0100)
commite6538aa8fd12fe4fc72bd60b3eb7618bc69bf5d3
tree42013db254953ef90a2b887b563b31a10f2e866a
parent40dc7277101ec96373b6237565823ef8a9b71a4e
change return value to use -1 on error, as 0 is a legal packet size
src/gns/gnunet-dns2gns.c
src/include/gnunet_network_lib.h
src/util/network.c