[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About expiring.



Dong-Eon Kim wrote:

> But groupexpire line seems not working? Am I doing something wrong?

There is a bug in the ngmatch() function which might cause the behaviour
you describe.

Apply the following patch:

--- texpire.c.orig	Sat Feb 13 19:18:33 1999
+++ texpire.c	Tue Feb 23 19:50:32 1999
@@ -77,7 +77,7 @@
    
     a = expire_base;
     while (a != NULL) {
-	if (ngmatch(group, a->group) == 0)
+	if (ngmatch(a->group, group) == 0)
 	    return a->xtime;
         a = a->next;
     }

--Cornelius.

-- 
/* Cornelius Krasel, U Wuerzburg, Dept. of Pharmacology, Versbacher Str. 9 */
/* D-97078 Wuerzburg, Germany   email: phak004@xxxxxxxxxxxxxxxxxxxxxx  SP4 */
/* "Science is the game we play with God to find out what His rules are."  */

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list