[package] update cgilib to 0.7 (#5367)
[openwrt/svn-archive/archive.git] / libs / cgilib / patches / 200-cgitest_bugfix.patch
index 62a68e7..745aa0e 100644 (file)
@@ -1,10 +1,10 @@
---- cgilib-0.5/cgitest.c.orig  1999-08-17 15:21:20.000000000 +0200
-+++ cgilib-0.5/cgitest.c       2005-08-10 20:49:01.000000000 +0200
-@@ -113,7 +113,7 @@
+--- a/cgitest.c
++++ b/cgitest.c
+@@ -216,7 +216,7 @@ int main (int argc, char **argv, char **
+           cgiSetHeader ("Set-Cookie", "Version=1; Library=cgilib; Path=/");
              cgiHeader();
-           printf ("<html>\n<head><title>cgilib</title></title>\n\n<body bgcolor=\"#ffffff\">\n");
-           printf ("<h1><a href=\"%s\">cgilib</a></h1>\n", URL);
--          printf ("<h3>Cookie "Library" set</h3>\n");
+           printf (HTML_CSS HTML_HEAD);
+-          printf ("<h3>Cookie Library set</h3>\n");
 +          printf ("<h3>Cookie \"Library\" set</h3>\n");
            printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest\">Test</a><p>\n");
            printf ("<p><br><p><br><a href=\"/cgi-bin/cgitest/redirect\">Redirect</a><p>\n");