Update of bug #18082 (project freeciv):

                Category:                    None => general                
                  Status:                    None => Invalid                
             Assigned to:                    None => cazfi                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

> 218 switch(pconn->server.status) { 
 ...
> 256 case AS_ESTABLISHED:
> 257 /* this better fail bigtime */
> 258 fc_assert(pconn->server.status != AS_ESTABLISHED);

It's an error is pcon->server.status is AS_ESTABLISHED, i.e. case
AS_ESTABLISHED is an error case, which must fail bigtime. It fails by
asserting that pconn->server.status != AS_ESTABLISHED (which obviously is
always false when one has entered that case). Assert has been written like
that to provide more meaningful error message than what simple
fc_assert(FALSE) would give.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18082>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to