inn.status file in inn 2.2.1
Paul Tomblin
ptomblin at xcski.com
Thu Aug 26 00:54:34 UTC 1999
In status.c, I make the name of the STATUS_FILE dependent on whether
HTML_STATUS is defined:
diff -c innd/status.c ../inn/innd/status.c
*** innd/status.c Sun Jun 20 17:56:36 1999
--- ../inn/innd/status.c Tue Jul 20 20:07:23 1999
***************
*** 16,22 ****
#define MAX_PEER 100
#define MIN_REFRESH 60 /* 1 min */
#define HTML_STATUS
! #define STATUS_FILE "inn.status" /* will be in pathlog/pathhttp */
typedef struct _STATUS {
char name[SMBUF];
--- 16,26 ----
#define MAX_PEER 100
#define MIN_REFRESH 60 /* 1 min */
#define HTML_STATUS
! #if defined(HTML_STATUS)
! #define STATUS_FILE "inn_status.html" /* will be in pathhttp */
! #else
! #define STATUS_FILE "inn.status" /* will be in pathlog */
! #endif
typedef struct _STATUS {
char name[SMBUF];
I did this because my web server didn't serve up the file as text/html unless
the file name ended as .html.
--
Paul Tomblin, not speaking for anybody.
SETI at Home: Finally a *good* way to impress Jodie Foster
http://www.setiathome.ssl.berkeley.edu/
More information about the inn-workers
mailing list