"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/cgi/cgidaemon.c" between
sqwebmail-6.0.1.tar.bz2 and sqwebmail-6.0.2.tar.bz2

About: SqWebMail is a CGI Webmail client for Maildir mailboxes (module of the Courier mail server).

cgidaemon.c  (sqwebmail-6.0.1.tar.bz2):cgidaemon.c  (sqwebmail-6.0.2.tar.bz2)
skipping to change at line 43 skipping to change at line 43
#if HAVE_SYS_UIO_H #if HAVE_SYS_UIO_H
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
extern char **environ; extern char **environ;
static void err(const char *func, const char *msg) static void err(const char *func, const char *msg)
{ {
cginocache(); cginocache();
printf("Content-Type: text/html; charset='utf-8'\n\n" printf("Content-Type: text/html; charset=\"utf-8\"\n\n"
"<html><head><title>Internal error</title></head>\n" "<html><head><title>Internal error</title></head>\n"
"<body><h1>Internal Error</h1>\n" "<body><h1>Internal Error</h1>\n"
"<p>The webmail system is temporarily unavailable. An error" "<p>The webmail system is temporarily unavailable. An error"
" occured in function %s: %s</p></body></html>\n", func, " occured in function %s: %s</p></body></html>\n", func,
msg); msg);
fflush(stdout); fflush(stdout);
exit(0); exit(0);
} }
static void connect_err(const char *func) static void connect_err(const char *func)
{ {
cginocache(); cginocache();
printf("Content-Type: text/html; charset='us-ascii'\n\n" printf("Content-Type: text/html; charset=\"us-ascii\"\n\n"
"<html><head><title>System unavailable</title></head>\n" "<html><head><title>System unavailable</title></head>\n"
"<body><h1>System unavailable</h1>\n" "<body><h1>System unavailable</h1>\n"
"<p>The web page you're trying to access is not available" "<p>The web page you're trying to access is not available"
" at this time. Please try again later.\n" " at this time. Please try again later.\n"
"</p><p>" "</p><p>"
"(%s: %s)</p></body></html>\n", func, strerror(errno)); "(%s: %s)</p></body></html>\n", func, strerror(errno));
fflush(stdout); fflush(stdout);
exit(0); exit(0);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)