making the output here a bit more real
[feisty_meow.git] / nucleus / applications / nechung / cgi_nechung.cpp
index 7fc24c4f55dcce7b42a4ebe5162021bf2219e7a1..dadaadcfbdfb11cc9e5aed582f8f532f39e6e5d2 100644 (file)
@@ -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;
 }