* remove -Wextra from makefile to make older compilers happy
[blender.git] / extern / verse / dist / v_connection.c
index fe4bf7a3105cb5b0bb45cac3e1d3b744d8da23ec..2a97ec66ed1cf6681d9d4b0f30766084c9dbcc4a 100644 (file)
@@ -254,10 +254,10 @@ boolean v_con_network_listen(void)
                        fprintf(stderr, __FILE__ ": Unhandled packet--dropping\n");
                        if(VConData.con_count > 0)
                        {
-                               fprintf(stderr, __FILE__ ": State: current=%u count=%u stage=%d id=%u\n",
-                                      VConData.current_connection,
-                                      VConData.con_count,
-                                      VConData.con[VConData.current_connection].connect_stage,
+                               fprintf(stderr, __FILE__ ": State: connections=%u, current=%u (stage %u), packet_id=%u\n",
+                                       VConData.con_count,
+                                       VConData.current_connection,
+                                       (VConData.current_connection < VConData.con_count) ? VConData.con[VConData.current_connection].connect_stage : 0,
                                        packet_id);
                        }
                }