ii

irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log | Files | Refs | README | LICENSE

commit be2f36f875efc1e5cde6b6bda90f5fe8e4b1c7ff
parent 3504249d87f324d197f8a83fd1a44d8e8efe5a80
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Sat, 28 Jan 2006 22:34:27 +0200

applied Kai's s/bcopy/memcpy patch

Diffstat:
Mii.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ii.c b/ii.c @@ -172,7 +172,7 @@ static int tcpopen(unsigned short port) exit(EXIT_FAILURE); } sin.sin_family = AF_INET; - bcopy(hp->h_addr, (char *) &sin.sin_addr, hp->h_length); + memcpy(&sin.sin_addr, hp->h_addr, hp->h_length); sin.sin_port = htons(port); if((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { perror("ii: cannot create socket");