Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2006-10-21 15:37:19 UTC
Modified files:
ircd/convert-conf.c ChangeLog
Log message:
Fix convert-conf for H: lines without C: lines.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.820 ircu2.10/ChangeLog:1.821
--- ircu2.10/ChangeLog:1.820 Sat Oct 21 08:35:31 2006
+++ ircu2.10/ChangeLog Sat Oct 21 08:37:09 2006
@@ -1,5 +1,10 @@
2006-10-21 Michael Poole <[EMAIL PROTECTED]>
+ * ircd/convert-conf.c (finish_connects): Fix error display for
+ missing C: lines when an H: line is present.
+
+2006-10-21 Michael Poole <[EMAIL PROTECTED]>
+
* ircd/engine_kqueue.c (set_or_clear): Explain in comment why
udata can't be used.
(engine_delete): Remove unused dellist[] variable and explain
Index: ircu2.10/ircd/convert-conf.c
diff -u ircu2.10/ircd/convert-conf.c:1.9 ircu2.10/ircd/convert-conf.c:1.10
--- ircu2.10/ircd/convert-conf.c:1.9 Thu Apr 6 20:27:50 2006
+++ ircu2.10/ircd/convert-conf.c Sat Oct 21 08:37:09 2006
@@ -212,11 +212,10 @@
{
for (sl = conn->origins; sl; sl = sl->next)
fprintf(stdout, "# %s\n", sl->value);
- if (conn->name == NULL
- || conn->host == NULL
- || conn->password == NULL
- || conn->class == NULL) {
- fprintf(stderr,"H:line missing C:line for %s\n",sl->value);
+ if (conn->host == NULL
+ || conn->password == NULL
+ || conn->class == NULL) {
+ fprintf(stderr,"H:line missing C:line for %s\n", conn->name);
continue;
}
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches