#define STDC_HEADERS 1
/* Most recent revision number in the version control system */
-#define VCS_REVISION "162"
+#define VCS_REVISION "163"
/* Version number of package */
#define VERSION "2.9"
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-VCS_REVISION=162
+VCS_REVISION=163
cat >>confdefs.h <<_ACEOF
dnl This is the one location where the authoritative version number is stored
AC_INIT(shellinabox, 2.9, markus@shellinabox.com)
-VCS_REVISION=162
+VCS_REVISION=163
AC_SUBST(VCS_REVISION)
AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
[Most recent revision number in the version control system])
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.9 (revision 162)" +
+ alert("VT100 Terminal Emulator " + "2.9 (revision 163)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};
};
ShellInABox.prototype.about = function() {
- alert("Shell In A Box version " + "2.9 (revision 162)" +
+ alert("Shell In A Box version " + "2.9 (revision 163)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com" +
(typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
rootPage[rootPageEnd - rootPageStart] = '\000';
char *html = stringPrintf(NULL, rootPage,
enableSSL ? "true" : "false");
- httpSendReply(http, 200, "OK", html);
+ serveStaticFile(http, "text/html", html, strrchr(html, '\000'));
+ free(html);
free(rootPage);
} else if (pathInfoLength == 8 && !memcmp(pathInfo, "beep.wav", 8)) {
// Serve the audio sample for the console bell.
};
VT100.prototype.about = function() {
- alert("VT100 Terminal Emulator " + "2.9 (revision 162)" +
+ alert("VT100 Terminal Emulator " + "2.9 (revision 163)" +
"\nCopyright 2008-2009 by Markus Gutschke\n" +
"For more information check http://shellinabox.com");
};