INN commit: branches/2.6/lib (confparse.c)
INN Commit
rra at isc.org
Thu May 5 12:40:00 UTC 2016
Date: Thursday, May 5, 2016 @ 05:40:00
Author: iulius
Revision: 10010
confparse.c: fix the message error when opening braces are missing
tag was always NULL in the condition.
Modified:
branches/2.6/lib/confparse.c
-------------+
confparse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: confparse.c
===================================================================
--- confparse.c 2016-05-05 12:39:19 UTC (rev 10009)
+++ confparse.c 2016-05-05 12:40:00 UTC (rev 10010)
@@ -1125,9 +1125,9 @@
}
if (token != TOKEN_LBRACE && token != TOKEN_LANGLE) {
free(type);
+ expected = tag != NULL ? "'{' or '<'" : "group tag, '{', or '<'";
if (tag != NULL)
free(tag);
- expected = tag != NULL ? "'{' or '<'" : "group tag, '{', or '<'";
error_unexpected_token(file, expected);
return false;
}
More information about the inn-committers
mailing list