Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Purpose of member 'player' in struct connection?
Home

[Freeciv-Dev] Purpose of member 'player' in struct connection?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Purpose of member 'player' in struct connection?
From: Daniel Burrows <Daniel_Burrows@xxxxxxxxx>
Date: Sat, 26 Feb 2000 23:06:35 -0500

  Is there any purpose for the 'player' member of the connection struct in
packets.h?  I tried commenting it out, as an experiment, and found exactly one
line that didn't compile: sernet.c:126.  That line reads:

        connections[i].player=NULL;

  In other words, it's initialized but never used.  OTOH, my authentication code
might be able to make use of this :)  Will I be stepping on anyone's toes if I
take over this member?  (I might not anyway; I haven't decided..)

  Daniel



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Purpose of member 'player' in struct connection?, Daniel Burrows <=