fix a typo that was breaking the export
authorFelix Fietkau <nbd@openwrt.org>
Mon, 28 Jan 2008 03:08:46 +0000 (04:08 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 28 Jan 2008 03:08:46 +0000 (04:08 +0100)
file.c

diff --git a/file.c b/file.c
index e8f06846bf1b446247d65dee49380a4d775a4d2b..8ab40d983f8062dd6509bca17300cc41d8fe9ccf 100644 (file)
--- a/file.c
+++ b/file.c
@@ -411,7 +411,7 @@ static void uci_parse_line(struct uci_context *ctx)
 }
 
 /* max number of characters that escaping adds to the string */
-#define UCI_QUOTE_ESCAPE       "'\\'"
+#define UCI_QUOTE_ESCAPE       "'\\''"
 
 /*
  * escape an uci string for export