[lib] fix quote doubling when using "show conf"
authorChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 19 Nov 2008 22:26:59 +0000 (23:26 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 19 Nov 2008 22:26:59 +0000 (23:26 +0100)
libmultipath/print.c

index 8b61f18..31af478 100644 (file)
@@ -834,7 +834,7 @@ snprint_hwentry (char * buff, int len, struct hwentry * hwe)
        if (fwd > len)
                return len;
        iterate_sub_keywords(rootkw, kw, i) {
        if (fwd > len)
                return len;
        iterate_sub_keywords(rootkw, kw, i) {
-               fwd += snprint_keyword(buff + fwd, len - fwd, "\t\t%k \"%v\"\n",
+               fwd += snprint_keyword(buff + fwd, len - fwd, "\t\t%k %v\n",
                                kw, hwe);
                if (fwd > len)
                        return len;
                                kw, hwe);
                if (fwd > len)
                        return len;