Re: [dev] [sic] port argument necessary?

From: Ramana Kumar <ramana.kumar_AT_gmail.com>
Date: Wed, 18 Aug 2010 07:37:28 +1000

Thanks Josh!
Does anyone know whether ircd is "supposed" to be set up properly on Linux?
I can tell you that it doesn't get done on Arch, at least.

On Wed, Aug 18, 2010 at 7:32 AM, Josh Rickmar <joshua_rickmar_AT_eumx.net> wrote:
> On Wed, Aug 18, 2010 at 07:18:48AM +1000, Ramana Kumar wrote:
>> Why must an argument be provided with its default value?
>>
>> ramana_AT_archbox ~ % sic
>> error: cannot resolve hostname 'irc.oftc.net': Success
>> ramana_AT_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];
>
>
Received on Tue Aug 17 2010 - 23:37:28 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 17 2010 - 23:48:02 CEST