From a718ca00f12411d44d6ee9ffacdb61e756a3a68c Mon Sep 17 00:00:00 2001 From: Gerfried Fuchs Date: Wed, 25 Jun 2008 21:34:49 +0200 Subject: [PATCH] there's no retbuf --- sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sockets.c b/sockets.c index 6a770ed..2b5f4be 100644 --- a/sockets.c +++ b/sockets.c @@ -188,7 +188,7 @@ int conn(const char *host, int port, char ipbuf[4]) return -1; } if (ipbuf) - memcpy(retbuf, &sa.sin_addr, 4); + memcpy(ipbuf, &sa.sin_addr, 4); #endif return sock; -- 2.11.4.GIT