luci-0.9: merge r5195

This commit is contained in:
Jo-Philipp Wich 2009-08-05 00:53:43 +00:00
parent 66e92f5fc0
commit ce8c292271
1 changed files with 6 additions and 6 deletions

View File

@ -21,12 +21,12 @@
/* leading and trailing code for different types */
const char * gen_code[6][2] = {
{ "write(\"", "\")" },
{ NULL, NULL },
{ "write(tostring(", "))" },
{ "include(\"", "\")" },
{ "write(translate(\"", "\"))" },
{ NULL, " " }
{ "write(\"", "\")" },
{ NULL, NULL },
{ "write(tostring(", " or \"\"))" },
{ "include(\"", "\")" },
{ "write(translate(\"", "\"))" },
{ NULL, " " }
};
/* Simple strstr() like function that takes len arguments for both haystack and needle. */