reverting ill-favored change
authorChris Koeritz <fred@gruntose.com>
Thu, 9 Mar 2017 03:35:33 +0000 (22:35 -0500)
committerChris Koeritz <fred@gruntose.com>
Thu, 9 Mar 2017 03:35:33 +0000 (22:35 -0500)
nucleus/applications/nechung/cgi_nechung.cpp

index dadaadcfbdfb11cc9e5aed582f8f532f39e6e5d2..04627d10cade0d8b38de7f762beb3256a6a66527 100644 (file)
@@ -79,8 +79,7 @@ int main(int argc, char *argv[])
 
   nechung_oracle some_fortunes(name, index);
   // send the header for html text.
-  printf("<!DOCTYPE html>\n");
-  printf("<html>\n");
+  printf("content-type: text/html\n\n");
   // send the preliminary gunk.
   printf("<body text=\"#00ee00\" bgcolor=\"#000000\" link=\"#66ff99\" "
       "vlink=\"#cc33cc\" alink=\"#ff9900\">\n");