diff options
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | 2008-10-25 15:19:48 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-25 15:19:48 +0200 |
commit | 3e5c759543f57e6aabb8142ef194d5e4d45722d8 (patch) | |
tree | ad9b8687525101e4e26ef85d4ff12c8621d7314d /udev/udev-rules.c | |
parent | 91a75e4ad4071d9d0ce1adb5c8d8272aac379d0a (diff) |
fix handling of string_escape option
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r-- | udev/udev-rules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 8c0e1d961b..4df9eb35c8 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1830,6 +1830,7 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event { struct token *cur; struct token *rule; + enum escape_type esc = ESCAPE_UNSET; if (rules->tokens == NULL) return -1; @@ -1838,7 +1839,6 @@ int udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event cur = &rules->tokens[0]; rule = cur; while (cur != NULL && cur->type != TK_END) { - enum escape_type esc = ESCAPE_UNSET; unsigned int idx; dump_token(rules, cur); |