Fix pmgen "reject" statement
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
@@ -293,7 +293,7 @@ with open("%s_pm.h" % prefix, "w") as f:
|
||||
print(" }", file=f)
|
||||
print("", file=f)
|
||||
|
||||
print("#define reject break", file=f)
|
||||
print("#define reject do { check_blacklist(); goto rollback_label; } while(0)", file=f)
|
||||
print("#define accept do { on_accept(); check_blacklist(); if (rollback) goto rollback_label; } while(0)", file=f)
|
||||
print("", file=f)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user