Weird error in inn*20091230

Julien ÉLIE julien at trigofacile.com
Wed Dec 30 13:40:25 UTC 2009


Hi The Doctor,

> When trying to post an article from (t)rn I get
>
> Check spelling, PGP, Send, Edit, List, or Abort? s
> Article not accepted by server; not posted:
> Can't set system Path: header
>
> That was not there yesterday.

Yes, I apologize.  nnrpd in inn-CURRENT-20091230 is broken and
should not be used.

STABLE is *not* impacted.


I saw it two hours ago and already committed a fix:

Modified: nnrpd/post.c
===================================================================
--- post.c 2009-12-29 22:35:13 UTC (rev 8874)
+++ post.c 2009-12-30 11:42:02 UTC (rev 8875)
@@ -338,7 +338,7 @@

     /* Do some preliminary fix-ups. */
     for (hp = Table; hp < ARRAY_END(Table); hp++) {
- if (hp->CanSet && hp->Value) {
+ if (!hp->CanSet && hp->Value) {
      snprintf(Error, sizeof(Error),
       "Can't set system %s: header", hp->Name);
      return Error;

-- 
Julien ÉLIE

« Tempora si fuerint nubila, solus eris. » (Ovide)




More information about the inn-workers mailing list