Introduction
Introduction Statistics Contact Development Disclaimer Help
small fix - sic - simple irc client
git clone git://git.suckless.org/sic
Log
Files
Refs
README
LICENSE
---
commit f615283ce95de748c5bc56c130fc57f5b086c78d
parent 8e623e944694fb7ce3ccf369892e4c656c2f926b
Author: [email protected] <unknown>
Date: Thu, 20 Jul 2006 10:29:10 +0200
small fix
Diffstat:
M sic.1 | 2 +-
M sic.c | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/sic.1 b/sic.1
@@ -1,4 +1,4 @@
-.TH SIC 1 sic-0.2
+.TH SIC 1 sic-0.1
.SH NAME
sic \- simple irc client
.SH SYNOPSIS
diff --git a/sic.c b/sic.c
@@ -250,19 +250,19 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
break;
case 's':
- server = argv[i++];
+ server = argv[++i];
break;
case 'p':
- port = atoi(argv[i++]);
+ port = atoi(argv[++i]);
break;
case 'n':
- nick = argv[i++];
+ nick = argv[++i];
break;
case 'k':
- password = argv[i++];
+ password = argv[++i];
break;
case 'f':
- fullname = argv[i++];
+ fullname = argv[++i];
break;
case 'v':
fputs("sic-"VERSION", (C)opyright MMVI Anselm R. Garbe…
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.