Commit fa2f504d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(prot_a_parse_aux_item): Don't expect the aux_no field. Leave that

	field as garbage.
parent 80a32b79
/*
* $Id: prot-a-parse.c,v 0.32 1998/07/08 13:41:55 ceder Exp $
* $Id: prot-a-parse.c,v 0.33 1998/08/29 20:28:13 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -29,7 +29,7 @@
*/
static const char *
rcsid = "$Id: prot-a-parse.c,v 0.32 1998/07/08 13:41:55 ceder Exp $";
rcsid = "$Id: prot-a-parse.c,v 0.33 1998/08/29 20:28:13 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -405,18 +405,15 @@ prot_a_parse_aux_item(Connection *client,
switch ( client->struct_parse_pos )
{
case 0:
result->aux_no = prot_a_parse_long(client);
result->tag = prot_a_parse_long(client);
client->struct_parse_pos = 1;
case 1:
result->tag = prot_a_parse_long(client);
prot_a_parse_aux_item_flags(client, &result->flags);
client->struct_parse_pos = 2;
case 2:
prot_a_parse_aux_item_flags(client, &result->flags);
result->inherit_limit = prot_a_parse_long(client);
client->struct_parse_pos = 3;
case 3:
result->inherit_limit = prot_a_parse_long(client);
client->struct_parse_pos = 4;
case 4:
prot_a_parse_string(client,
&(result->data),
param.text_len);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment