[Freeciv-Dev] Re: (PR#7405) list cleanup
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7405 >
On Tue, Feb 10, 2004 at 08:21:28AM -0800, Per I. Mathisen wrote:
> void close_connection(struct connection *pconn)
> {
> while (timer_list_size(pconn->server.ping_timers) > 0) {
> struct timer *timer = timer_list_get(pconn->server.ping_timers, 0);
>
> timer_list_unlink(pconn->server.ping_timers, timer);
> free_timer(timer);
> }
> + assert(timer_list_size(pconn->server.ping_timers) == 0);
> + timer_list_unlink_all(pconn->server.ping_timers);
The assert will never trigger.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
Microsoft does have a year 2000 problem. I'm part of it. I'm running Linux.
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Raimar Falke, 2004/02/10
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Per I. Mathisen, 2004/02/10
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Per I. Mathisen, 2004/02/10
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Raimar Falke, 2004/02/10
- [Freeciv-Dev] Re: (PR#7405) list cleanup,
Raimar Falke <=
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Per I. Mathisen, 2004/02/10
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Jason Short, 2004/02/11
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Raimar Falke, 2004/02/11
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Raimar Falke, 2004/02/11
- [Freeciv-Dev] Re: (PR#7405) list cleanup, Per I. Mathisen, 2004/02/13
|
|