htdocs/archive: renamed 'history.txt' to 'setfiledata.log'. use full url cppcheck.sourceforge.net.

This commit is contained in:
Daniel Marjamäki 2013-07-13 21:02:45 +02:00
parent ab2d2a7484
commit 7d237579c9
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ int main()
fclose(f); fclose(f);
generatepage("saved."); generatepage("saved.");
f = fopen("history.txt", "at"); f = fopen("setfiledata.log", "at");
if (f) { if (f) {
fprintf(f,"%s\n",str); fprintf(f,"%s\n",str);
fclose(f); fclose(f);

View File

@ -97,7 +97,7 @@ void generatepage(const char msg[])
puts("Content-type: text/html\r\n\r\n"); puts("Content-type: text/html\r\n\r\n");
puts("<html>"); puts("<html>");
puts("<head><script>"); puts("<head><script>");
puts("function ok() { window.location = \"http://cppcheck.sf.net/archive/\"; }"); puts("function ok() { window.location = \"http://cppcheck.sourceforge.net/archive/\"; }");
puts("</script></head>"); puts("</script></head>");
puts("<body>"); puts("<body>");
puts(msg); puts(msg);