Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed fullname handling in login - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit 9d87b90d50b8901d7a6bfe4b06b633a30fb9797f
parent 6255ad68d67f6409ba8ee3e794f1ccdfad7ed101
Author: [email protected] <unknown>
Date: Fri, 21 Jul 2006 15:46:05 +0200
fixed fullname handling in login
Diffstat:
M sic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sic.c b/sic.c
@@ -294,10 +294,10 @@ main(int argc, char *argv[])
if(password)
snprintf(bufout, sizeof(bufout),
"PASS %s\r\nNICK %s\r\nUSER %s localhost %s :%…
- password, nick, nick, server, fullname ? fulln…
+ password, nick, nick, server, fullname);
else
snprintf(bufout, sizeof(bufout), "NICK %s\r\nUSER %s localhost…
- nick, nick, server, fullname ? fullname : nic…
+ nick, nick, server, fullname);
write(srv, bufout, strlen(bufout));
snprintf(ping, sizeof(ping), "PING %s\r\n", server);
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.