Introduction
Introduction Statistics Contact Development Disclaimer Help
thanks to Matthias-Christian Ott for this hint - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit b3ed5f414fab000e509ae23094befddca2aa6137
parent ca6ba9a64a1332bf2bb4fac4b08030812dc3ff07
Author: Anselm R Garbe <[email protected]>
Date: Sat, 21 Feb 2009 19:14:13 +0000
thanks to Matthias-Christian Ott for this hint
Diffstat:
M sic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sic.c b/sic.c
@@ -188,7 +188,7 @@ main(int argc, char *argv[]) {
hints.ai_socktype = SOCK_STREAM;
if(getaddrinfo(host, port, &hints, &res) != 0)
die("error: cannot resolve hostname '%s'\n", host);
- for(ri = res; r; r = r->ai_next) {
+ for(r = res; r; r = r->ai_next) {
if((srv = socket(r->ai_family, r->ai_socktype, r->ai_protocol)…
continue;
if(connect(srv, r->ai_addr, r->ai_addrlen) == 0)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.