Applied in revision 4f92363.
Thanks, Simon
On Wed, Oct 17, 2012 at 09:55:58PM +0200, Sven Eckelmann wrote:
Signed-off-by: Sven Eckelmann sven@narfation.org
recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recv.c b/recv.c index dce7e50..8ddf7ab 100644 --- a/recv.c +++ b/recv.c @@ -217,7 +217,7 @@ int send_alfred_packet(struct globals *globals, uint8_t *dest, void *buf, char *sendbuf;
sendbuf = malloc(sizeof(*ethhdr) + length);
- if (!buf)
if (!sendbuf) return -1;
ethhdr = (struct ethhdr *)sendbuf;
-- 1.7.10.4