More variable declares in the middle of functions. gcc 2.95 does not seem to like this at all...

This commit is contained in:
Ragnvald Maartmann-Moe IV 2003-02-12 06:53:38 +00:00
parent 872c2f5c5f
commit 3fbb55f8ad

View file

@ -279,15 +279,14 @@ Mst_SendList (void)
{ {
byte buf[MAX_DATAGRAM]; byte buf[MAX_DATAGRAM];
sizebuf_t msg; sizebuf_t msg;
server_t *sv;
short int sv_num = 0;
msg.data = buf; msg.data = buf;
msg.maxsize = sizeof (buf); msg.maxsize = sizeof (buf);
msg.cursize = 0; msg.cursize = 0;
msg.allowoverflow = true; msg.allowoverflow = true;
msg.overflowed = false; msg.overflowed = false;
server_t *sv;
short int sv_num = 0;
// number of servers: // number of servers:
for (sv = sv_list; sv; sv = sv->next) for (sv = sv_list; sv; sv = sv->next)