projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cd81d
)
making the output here a bit more real
author
Chris Koeritz
<fred@gruntose.com>
Thu, 9 Mar 2017 03:31:05 +0000
(22:31 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Thu, 9 Mar 2017 03:31:05 +0000
(22:31 -0500)
nucleus/applications/nechung/cgi_nechung.cpp
patch
|
blob
|
history
diff --git
a/nucleus/applications/nechung/cgi_nechung.cpp
b/nucleus/applications/nechung/cgi_nechung.cpp
index 7fc24c4f55dcce7b42a4ebe5162021bf2219e7a1..dadaadcfbdfb11cc9e5aed582f8f532f39e6e5d2 100644
(file)
--- a/
nucleus/applications/nechung/cgi_nechung.cpp
+++ b/
nucleus/applications/nechung/cgi_nechung.cpp
@@
-79,7
+79,8
@@
int main(int argc, char *argv[])
nechung_oracle some_fortunes(name, index);
// send the header for html text.
- printf("content-type: text/html\n\n");
+ printf("<!DOCTYPE html>\n");
+ printf("<html>\n");
// send the preliminary gunk.
printf("<body text=\"#00ee00\" bgcolor=\"#000000\" link=\"#66ff99\" "
"vlink=\"#cc33cc\" alink=\"#ff9900\">\n");
@@
-113,6
+114,7
@@
int main(int argc, char *argv[])
printf("</font>\n");
printf("</tt>\n");
printf("</body>\n");
+ printf("</html>\n");
return 0;
}