[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]
<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
|
|