From: Ted Lemon Date: Mon, 9 Apr 2001 00:41:45 +0000 (+0000) Subject: Make it compile with DEBUG_EXPRESSION_PARSE. X-Git-Tag: V3-RC1~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7b01f134e85cc7a40147a7625c4445b73d0b7c02;p=thirdparty%2Fdhcp.git Make it compile with DEBUG_EXPRESSION_PARSE. --- diff --git a/common/parse.c b/common/parse.c index 0ba577b8e..381c81844 100644 --- a/common/parse.c +++ b/common/parse.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: parse.c,v 1.102 2001/03/17 00:47:33 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n"; +"$Id: parse.c,v 1.103 2001/04/09 00:41:45 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -2517,7 +2517,7 @@ int parse_if_statement (result, cfile, lose) return 0; } #if defined (DEBUG_EXPRESSION_PARSE) - print_expression ("if condition", if_condition); + print_expression ("if condition", (*result) -> data.ie.expr); #endif if (parenp) { token = next_token (&val, (unsigned *)0, cfile);