On Wed, Aug 18, 2010 at 07:18:48AM +1000, Ramana Kumar wrote: > Why must an argument be provided with its default value? > > ram...@archbox ~ % sic > error: cannot resolve hostname 'irc.oftc.net': Success > ram...@archbox ~ % sic -p 6667 > solenoid.oftc.net: 08/18/10 07:17 >< NOTICE (AUTH): *** Looking up > your hostname... > solenoid.oftc.net: 08/18/10 07:17 >< NOTICE (AUTH): *** Checking Ident > solenoid.oftc.net: 08/18/10 07:17 >< NOTICE (AUTH): *** Found your hostname >
Man page says it should be 6667 by default, source says otherwise. Here's a fix: diff -r 904b7747c223 sic.c --- a/sic.c Fri Aug 06 09:52:12 2010 +0100 +++ b/sic.c Tue Aug 17 17:31:53 2010 -0400 @@ -9,7 +9,7 @@ #include <unistd.h> static char *host = "irc.oftc.net"; -static char *port = "ircd"; +static char *port = "6667"; static char *password; static char nick[32]; static char bufin[4096];