1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00

fix handling of string_escape option

This commit is contained in:
Alan Jenkins 2008-10-25 15:19:48 +02:00 committed by Kay Sievers
parent 91a75e4ad4
commit 3e5c759543

View File

@ -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);