Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Re: (PR#14173) Team crash
Home

[Freeciv-Dev] Re: (PR#14173) Team crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14173) Team crash
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Oct 2005 08:59:53 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14173 >

Mateusz Stefek wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14173 >
> 
>>[jdorje - Wed Oct 05 21:09:26 2005]:
>>
>>Looks like the server doesn't send all info when a user connects.
> 
> Your patch crashes the server in pregame.

Well, crap.  I guess this is the right patch.

-jason

Index: server/connecthand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/connecthand.c,v
retrieving revision 1.56
diff -p -u -r1.56 connecthand.c
--- server/connecthand.c        26 Sep 2005 18:59:12 -0000      1.56
+++ server/connecthand.c        6 Oct 2005 15:58:06 -0000
@@ -194,6 +194,7 @@ static void establish_new_connection(str
 
   send_conn_info(dest, game.est_connections);
   send_conn_info(game.est_connections, dest);
+  send_game_info(dest);
   send_player_info_c(NULL, dest);
   reset_all_start_commands();
   (void) send_server_info_to_metaserver(META_INFO);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#14173) Team crash, Jason Short <=