Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2006-10-21 15:29:21 UTC
Modified files:
Tag: u2_10_12_branch
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.710.2.122 ircu2.10/ChangeLog:1.710.2.123
--- ircu2.10/ChangeLog:1.710.2.122 Wed Aug 2 20:05:02 2006
+++ ircu2.10/ChangeLog Sat Oct 21 08:29:10 2006
@@ -1,3 +1,8 @@
+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-08-02 Michael Poole <[EMAIL PROTECTED]>
* ircd/ircd_parser.y (connectblock): Check for too-long password.
Index: ircu2.10/ircd/convert-conf.c
diff -u ircu2.10/ircd/convert-conf.c:1.2.2.7
ircu2.10/ircd/convert-conf.c:1.2.2.8
--- ircu2.10/ircd/convert-conf.c:1.2.2.7 Sat Mar 18 20:40:00 2006
+++ ircu2.10/ircd/convert-conf.c Sat Oct 21 08:29:10 2006
@@ -213,12 +213,11 @@
{
for (sl = conn->origins; sl; sl = sl->next)
fprintf(stdout, "# %s\n", sl->value);
- if (conn->name == NULL
- || conn->host == NULL
+ if (conn->host == NULL
|| conn->password == NULL
|| conn->class == NULL)
{
- fprintf(stderr, "H:line missing C:line for %s\n",sl->value);
+ 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