Some remarks

Vincent CHAVANIS vincent at telemaque.fr
Fri Jul 7 10:08:23 CEST 2006


It has already been fixed.
Please use CVS version

2006-02-21  Stipe Tolj  <stolj at kannel.org>
  * test/fakesmsc.c: fixing option switches '-r' to '-z' for number randomization,
    which clashed with the '-r' for port specify'ing.
    Thanks to Ngurah Bagus <storymasterq at gmail.com> for the report.
    [Msg-Id: <9100e92b0602202241we1e9facr94e9ed1d349e5046 at mail.gmail.com>]


regards

Vincent

--
Telemaque - NICE - (FR)
Service Technique - Developpement
http://www.telemaque.fr/
vincent at telemaque.fr
Tel : +33 4 93 97 71 64 (fax 68)

----- Original Message ----- 
From: "Colin Pitrat" <colin.pitrat at bull.net>
To: "Stipe Tolj" <st at tolj.org>
Cc: <devel at kannel.org>
Sent: Friday, July 07, 2006 9:37 AM
Subject: Re: Some remarks


lorry, I was tired. What I wanted to say is that -r option is short for 
--randomize in fakesmsc, and it's also short for --port :

if (strcmp(argv[i], "-r")==0 || strcmp(argv[i], "--port")==0)
[...]
else if (strcmp(argv[i], "-r")==0 || strcmp(argv[i], "--randomize")==0)
[...]

My version of fakesmsc is not the last one as I can't manage to browse 
cvs, so maybe it has already been corrected.

Regards,
Colin

Stipe Tolj wrote:
> Colin Pitrat wrote:
> 
>> Okay, but then there is a conflict with randomize that is -p, and the 
>> help is not consistant as it says -p for port and -r for randomize.
> 
> ???
> 
> Stipe
> 
> -------------------------------------------------------------------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
> 
> tolj.org system architecture      Kannel Software Foundation (KSF)
> http://www.tolj.org/              http://www.kannel.org/
> 
> mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
> -------------------------------------------------------------------






More information about the devel mailing list