summaryrefslogtreecommitdiff
path: root/scripts/comp_sql.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/comp_sql.c')
-rw-r--r--scripts/comp_sql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/comp_sql.c b/scripts/comp_sql.c
index 60236774701..328dab0cf13 100644
--- a/scripts/comp_sql.c
+++ b/scripts/comp_sql.c
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
while(*end && *end != '.')
end++;
*end= 0;
- fprintf(out, "const char* %s={\"\\\n", infile_name);
+ fprintf(out, "const char* %s={\n\"", infile_name);
while (fgets(buff, sizeof(buff), in))
{
@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
Reached end of line, add escaped newline, escaped
backslash and a newline to outfile
*/
- fprintf(out, "\\n\\\n");
+ fprintf(out, "\\n \"\n\"");
curr++;
}
else if (*curr == '\r')