Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#11167) no output on bad -p option
Home

[Freeciv-Dev] Re: (PR#11167) no output on bad -p option

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11167) no output on bad -p option
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Nov 2004 12:54:45 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11167 >

Vasco Alexandre da Silva Costa wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11167 >
> 
> On Tue, 23 Nov 2004, Jason Short wrote:
> 
> 
>><URL: http://rt.freeciv.org/Ticket/Display.html?id=11167 >
>>
>>If I run:
>>
>>   civclient -p blah
>>
>>the client exits with no error message.
> 
> 
> I guess we are using atoi() instead of using sscanf(). sscanf() returns
> the number of arguments well parsed.

There's an error check.  It just doesn't print anything if the error is 
caught.

jason





[Prev in Thread] Current Thread [Next in Thread]