htdocs/archive: renamed 'history.txt' to 'setfiledata.log'. use full url cppcheck.sourceforge.net.
This commit is contained in:
parent
ab2d2a7484
commit
7d237579c9
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue