chiark / gitweb /
util: use quoted word parsing where applicable
[elogind.git] / src / device.c
index a0349c4..2079f1c 100644 (file)
@@ -244,7 +244,7 @@ static int device_process_new_device(Manager *m, struct udev_device *dev, bool u
                         goto fail;
 
         if (wants) {
                         goto fail;
 
         if (wants) {
-                FOREACH_WORD(w, l, wants, state) {
+                FOREACH_WORD_QUOTED(w, l, wants, state) {
                         char *e;
 
                         if (!(e = strndup(w, l))) {
                         char *e;
 
                         if (!(e = strndup(w, l))) {