INN commit: branches/2.5/nnrpd (article.c)

INN Commit rra at isc.org
Thu May 14 13:32:31 UTC 2015


    Date: Thursday, May 14, 2015 @ 06:32:30
  Author: iulius
Revision: 9860

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:
  branches/2.5/nnrpd/article.c

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

Modified: article.c
===================================================================
--- article.c	2015-05-14 13:25:42 UTC (rev 9859)
+++ article.c	2015-05-14 13:32:30 UTC (rev 9860)
@@ -873,14 +873,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