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

Portability fix.

parent bef95c60
#
# $Id: prot-a-parse-arg-c.awk,v 0.10 1994/02/19 04:27:58 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.11 1994/03/08 22:57:54 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: prot-a-parse-arg-c.awk,v 0.10 1994/02/19 04:27:58 ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.11 1994/03/08 22:57:54 ceder Exp $
BEGIN {
printf("/* Don't edit this file - it is generated automatically");
printf(" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n");
......@@ -73,7 +73,7 @@ $1 != "#" {
{
printf("\tif ( parse_nonwhite_char(client) != '{' )\n");
printf("\t longjmp(parse_env, ISC_PROTOCOL_ERR);\n");
printf("\tif ( client->num%d > param.mark_as_read_chunk )\n",
printf("\tif ( client->num%d > param.mark_as_read_chunk )\n",\
num-1);
printf("\t longjmp(parse_env, ISC_PROTOCOL_ERR);\n");
printf("\n");
......
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