1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding]
5.0a28 seemingly inaccurate startup warnings in log
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%205.0a28%20seemingly%20inaccurate%20startup%20warnings%20in%20log&In-Reply-To=">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000515.html">
11 <LINK REL=
"Next" HREF=
"000516.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding]
5.0a28 seemingly inaccurate startup warnings in log
</H1>
15 <B>Mark Hetherington
</B>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%205.0a28%20seemingly%20inaccurate%20startup%20warnings%20in%20log&In-Reply-To="
17 TITLE=
"[IRCServices Coding] 5.0a28 seemingly inaccurate startup warnings in log">mark at ctcp.net
19 <I>Thu Apr
11 10:
20:
07 PDT
2002</I>
21 <LI>Previous message:
<A HREF=
"000515.html">[IRCServices Coding] ircservices5.0a28 various
23 <LI>Next message:
<A HREF=
"000516.html">[IRCServices Coding] Cygnus
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#524">[ date ]
</a>
27 <a href=
"thread.html#524">[ thread ]
</a>
28 <a href=
"subject.html#524">[ subject ]
</a>
29 <a href=
"author.html#524">[ author ]
</a>
34 <PRE>After installing Services
5.0a28, I booted services, used /operserv
35 shutdown, then started services again.
37 ><i>From that point and on all subsequent runs of Services, a number of
38 </I>warnings appear in the log file from services of the format:
40 IRC Services
5.0a28 starting up
41 database/version4: warning: autokick mismatch in extension data for channel
42 #admins (corrupt database?): expected
2, got
2
44 As can be seen from this example, the two numbers where services thinks it
45 has found a problem are equal so I am not sure what services actually
46 thinks the problem is.
48 The warning output code seems to be performing a check with one set of
49 parameters but reporting the error using a different set of parameters:
51 if (count != ci-
>access_count
&& ci !=
&dummy_ci) {
52 module_log(
"warning: autokick mismatch in extension data
"
53 " for channel %s (corrupt database?): expected
"
54 " %d, got %d
", ci-
>name, ci-
>akick_count, count);
56 i.e. ci-
>access_count as used for the check is not the same variable as ci-
57 ><i>akick_count as used for the message output.
70 <LI>Previous message:
<A HREF=
"000515.html">[IRCServices Coding] ircservices5.0a28 various
72 <LI>Next message:
<A HREF=
"000516.html">[IRCServices Coding] Cygnus
74 <LI> <B>Messages sorted by:
</B>
75 <a href=
"date.html#524">[ date ]
</a>
76 <a href=
"thread.html#524">[ thread ]
</a>
77 <a href=
"subject.html#524">[ subject ]
</a>
78 <a href=
"author.html#524">[ author ]
</a>