-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message
While trying to add an agent, I've found this patch necessary. This is against 2.1.9, as I have nothing closer to HEAD available. BTW, does anyone maintain a (read-only) git mirror? SVN just isn't an option for me. commit 96423dead6569d4cd85000554e1685c0c2856bed Author: berndj <ber...@localhost.localdomain> Date: Tue Jun 9 01:27:09 2009 +0200 Agent calls are never equal if they are to different agents. diff --git a/client/agents/agents.c b/client/agents/agents.c index 111d20a..60fd99d 100644 --- a/client/agents/agents.c +++ b/client/agents/agents.c @@ -85,6 +85,10 @@ static bool currently_running = FALSE; static bool calls_are_equal(const struct call *pcall1, const struct call *pcall2) { + if (pcall1->agent != pcall2->agent) { + return false; + } + if (pcall1->type != pcall2->type && pcall1->cb_type != pcall2->cb_type) { return FALSE; } -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFKLaJx7sfNFNW4BEwRAioXAJ42c0NEN/jTUbZ97j3WKOjfZquZgACfSpLm yRwxA5yNFNMni/GOfWahrpI= =zbVX -----END PGP SIGNATURE----- _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev