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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to