INN commit: trunk/nnrpd (article.c)

INN Commit rra at isc.org
Sun May 3 14:56:15 UTC 2015


    Date: Sunday, May 3, 2015 @ 07:56:15
  Author: iulius
Revision: 9846

nnrpd/article.c:  A wrong variable was used for vhost feature.

Since these are created by the local innd, the error should not
normally occur.

Thanks to Richard Kettlewell for the patch.

Modified:
  trunk/nnrpd/article.c

-----------+
 article.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: article.c
===================================================================
--- article.c	2015-05-02 16:32:08 UTC (rev 9845)
+++ article.c	2015-05-03 14:56:15 UTC (rev 9846)
@@ -872,14 +872,14 @@
 
     space = strchr(p, ' ');
     if (space == NULL) {
-	warn("malformed Xref: `%s'", field);
-	goto fail;
+        warn("malformed Xref: `%s'", p);
+        goto fail;
     }
     offset = space - p;
     space = strchr(p + offset, ' ');
     if (space == NULL) {
-	warn("malformed Xref: `%s'", field);
-	goto fail;
+        warn("malformed Xref: `%s'", p);
+        goto fail;
     }
     field = concat(PERMaccessconf->domain, space, NULL);
  fail:



More information about the inn-committers mailing list