minor fixes
This commit is contained in:
parent
b669fe6604
commit
cdb4181b76
4 changed files with 11 additions and 11 deletions
10
Makefile.in
10
Makefile.in
|
@ -28,11 +28,11 @@ clean:
|
|||
|
||||
install: module
|
||||
$(INSTALL) -m 644 $(TARGET) $(DIRECTORY)
|
||||
$(INSTALL) -m 644 $(DOCS) $(DIRECTORY)/docs/
|
||||
$(INSTALL) -m 644 $(DATA) $(DIRECTORY)../data/
|
||||
$(INSTALL) -m 644 $(DOCS) $(DIRECTORY)../doc/
|
||||
|
||||
$(OBJECTS): Makefile
|
||||
|
||||
opsb.c: opsb.h opsb.c
|
||||
proxy.c: proxy.c opsb.h
|
||||
opsb_help.c: opsb_help.c
|
||||
opsb.c: opsb.h
|
||||
proxy.c: opsb.h
|
||||
opsb_help.c: opsb.h
|
||||
|
||||
|
|
|
@ -406,7 +406,7 @@ s,@PACKAGE_VERSION@,,;t t
|
|||
s,@PACKAGE_STRING@,,;t t
|
||||
s,@PACKAGE_BUGREPORT@,,;t t
|
||||
s,@exec_prefix@,${prefix},;t t
|
||||
s,@prefix@,/home/fish/NeoStats/,;t t
|
||||
s,@prefix@,/home/neostats/NeoStats/,;t t
|
||||
s,@program_transform_name@,s,x,x,,;t t
|
||||
s,@bindir@,${exec_prefix}/bin,;t t
|
||||
s,@sbindir@,${exec_prefix}/sbin,;t t
|
||||
|
@ -438,7 +438,7 @@ s,@OBJEXT@,o,;t t
|
|||
s,@INSTALL_PROGRAM@,${INSTALL},;t t
|
||||
s,@INSTALL_SCRIPT@,${INSTALL},;t t
|
||||
s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
|
||||
s,@DIRINST@,/home/fish/NeoStats/,;t t
|
||||
s,@DIRINST@,/home/neostats/NeoStats/,;t t
|
||||
CEOF
|
||||
|
||||
# Split the substitutions into bite-sized pieces for seds with
|
||||
|
|
5
opsb.c
5
opsb.c
|
@ -4,7 +4,7 @@
|
|||
** Based from GeoStats 1.1.0 by Johnathan George net@lite.net
|
||||
*
|
||||
** NetStats CVS Identification
|
||||
** $Id: opsb.c,v 1.1 2002/08/31 09:28:35 fishwaldo Exp $
|
||||
** $Id: opsb.c,v 1.2 2002/08/31 14:36:40 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -415,6 +415,7 @@ int do_set(User *u, char **av, int ac) {
|
|||
prefmsg(u->nick, s_opsb, "Split Time: %d", opsb.timedif);
|
||||
prefmsg(u->nick, s_opsb, "ScanMessage: %s", opsb.scanmsg);
|
||||
prefmsg(u->nick, s_opsb, "Ban Time: %d", opsb.bantime);
|
||||
prefmsg(u->nick, s_opsb, "Cache Time: %d", opsb.cachetime);
|
||||
prefmsg(u->nick, s_opsb, "Configured: %s", (opsb.confed ? "Yes" : "No"));
|
||||
return 0;
|
||||
}
|
||||
|
@ -961,7 +962,7 @@ void _init() {
|
|||
|
||||
|
||||
/* scan cache is MAX_QUEUE size (why not?) */
|
||||
cache = list_create(2);
|
||||
cache = list_create(MAX_QUEUE);
|
||||
|
||||
exempt = list_create(MAX_EXEMPTS);
|
||||
|
||||
|
|
3
proxy.c
3
proxy.c
|
@ -4,7 +4,7 @@
|
|||
** Based from GeoStats 1.1.0 by Johnathan George net@lite.net
|
||||
*
|
||||
** NetStats CVS Identification
|
||||
** $Id: proxy.c,v 1.1 2002/08/31 09:28:36 fishwaldo Exp $
|
||||
** $Id: proxy.c,v 1.2 2002/08/31 14:36:40 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -434,7 +434,6 @@ int proxy_read(int socknum, char *sockname) {
|
|||
log("OPSB proxy_read(): Got this: %s (%d)",buf, i);
|
||||
#endif
|
||||
/* we check if this might be a normal http server */
|
||||
do_ban(scandata);
|
||||
|
||||
if (strstr(buf, "Method Not Allowed")) {
|
||||
#ifdef DEBUG
|
||||
|
|
Reference in a new issue