summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorroot <[email protected]>2024-08-21 07:50:09 +0000
committerroot <[email protected]>2024-08-21 07:50:09 +0000
commit0640799f215fc4abb67a1b253609750ae0208e38 (patch)
tree0f102a6cdfec24921b332b2c9a10d791b2950de9 /src
parentb634070092bb161b4ee672c2bf214d25ef9bc322 (diff)
remove unescape process of district
Diffstat (limited to 'src')
-rw-r--r--src/maat_flag.c1
-rw-r--r--src/maat_interval.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/maat_flag.c b/src/maat_flag.c
index d22254e..0781bdd 100644
--- a/src/maat_flag.c
+++ b/src/maat_flag.c
@@ -355,7 +355,6 @@ flag_item_new(struct flag_schema *schema, const char *table_name,
char district[MAX_DISTRICT_STR_LEN + 1] = {0};
memcpy(district, (line + column_offset), column_len);
assert(strlen(district) > 0);
- str_unescape(district);
item->district_id = flag_runtime_get_district_id(flag_rt, district);
} else {
item->district_id = DISTRICT_ANY;
diff --git a/src/maat_interval.c b/src/maat_interval.c
index f6f1638..b34a37a 100644
--- a/src/maat_interval.c
+++ b/src/maat_interval.c
@@ -318,7 +318,6 @@ interval_item_new(struct interval_schema *schema, const char *table_name,
char district[MAX_DISTRICT_STR_LEN + 1] = {0};
memcpy(district, (line + column_offset), column_len);
assert(strlen(district) > 0);
- str_unescape(district);
item->district_id = interval_runtime_get_district_id(interval_rt, district);
} else {
item->district_id = DISTRICT_ANY;