INN 2.5, inn-CURRENT-20090103 Issues

Julien ÉLIE julien at trigofacile.com
Tue Jan 6 19:53:52 UTC 2009


Hi William,

> I am open to any suggestions and trying out any possible patches.

And with that one?
It only does the check in two times: if (a) { if (b) { } }.

What is your compiler by the way?


--- host.c      (révision 8263)
+++ host.c      (copie de travail)
@@ -1783,13 +1783,16 @@
       delArticle (extraRef) ;

       remArticle (article,&host->processed,&host->processedTail) ;
-      if (!cxnCheckstate (cxn))
+      if (cxn != NULL)
         {
-          host->artsToTape++ ;
-          host->gArtsToTape++ ;
-          procArtsToTape++ ;
-          tapeTakeArticle (host->myTape,article) ;
-          return ;
+          if (!cxnCheckstate (cxn))
+            {
+              host->artsToTape++ ;
+              host->gArtsToTape++ ;
+              procArtsToTape++ ;
+              tapeTakeArticle (host->myTape,article) ;
+              return ;
+            }
         }
     }



-- 
Julien ÉLIE

« C'est de ma faute à moi si les portes ne sont pas à la hauteur de mes menhirs ? » (Astérix) 




More information about the inn-workers mailing list