Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: (PR#4520) new function request_diplomat_action
Home

[Freeciv-Dev] Re: (PR#4520) new function request_diplomat_action

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4520) new function request_diplomat_action
From: "Jason Short" <jshort@xxxxxxxxxxxxxx>
Date: Wed, 9 Jul 2003 13:16:00 -0700
Reply-to: rt@xxxxxxxxxxxxxx


--On Wednesday, July 09, 2003 12:18:18 -0700 Mike Kaufman 
<kaufman@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Jul 09, 2003 at 11:02:43AM -0700, Jason Short wrote:
>> By introducing a new function request_diplomat_action we can avoid the
>> uninitialized data problem while making the code more concise and
>> readible.
>
> very nice. though I notice that in some places the (unused) value is set
> to -1 and others to 0. reason?

When it's unused, it is set to 0.  But sometimes when it is used it may 
have a value of 0 and sometimes a value of -1.  This is probably something 
to be fixed, but it means a change in network protocol.

jason




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