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 e8f0684..8ab40d9 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 */
 }
 
 /* max number of characters that escaping adds to the string */
-#define UCI_QUOTE_ESCAPE       "'\\'"
+#define UCI_QUOTE_ESCAPE       "'\\''"
 
 /*
  * escape an uci string for export
 
 /*
  * escape an uci string for export