KRT: Fix trivial error

This commit is contained in:
Ondrej Zajicek (work) 2016-08-31 14:02:41 +02:00
parent f9f2e280ea
commit a1839f3c61

View file

@ -56,7 +56,7 @@ kern_item:
| GRACEFUL RESTART bool { THIS_KRT->graceful_restart = $3; } | GRACEFUL RESTART bool { THIS_KRT->graceful_restart = $3; }
| MERGE PATHS bool kern_mp_limit { | MERGE PATHS bool kern_mp_limit {
THIS_KRT->merge_paths = $3 ? $4 : 0; THIS_KRT->merge_paths = $3 ? $4 : 0;
#ifndef KRT_ALLOW_LEARN #ifndef KRT_ALLOW_MERGE_PATHS
if ($3) if ($3)
cf_error("Path merging not supported on this platform"); cf_error("Path merging not supported on this platform");
#endif #endif