From 0a89b5b02571b5c7d6d8d623234ccf72a9cb3bce Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 27 Jul 2004 18:59:55 +0000 Subject: [PATCH] Added check for .tic to un_attach --- lib/attach.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/attach.c b/lib/attach.c index 3c96fb4c..8128cf58 100644 --- a/lib/attach.c +++ b/lib/attach.c @@ -236,8 +236,9 @@ void un_attach(faddr *node, char *filename, int fdn) if ((strlen(base) == 12) && ((strncasecmp(base+8,".su",3) == 0) || (strncasecmp(base+8,".mo",3) == 0) || (strncasecmp(base+8,".tu",3) == 0) || (strncasecmp(base+8,".we",3) == 0) || (strncasecmp(base+8,".th",3) == 0) || - (strncasecmp(base+8,".fr",3) == 0) || (strncasecmp(base+8,".sa",3) == 0))) { - Syslog('p', "this is arcmail, no un_attach"); + (strncasecmp(base+8,".fr",3) == 0) || (strncasecmp(base+8,".sa",3) == 0) || + (strncasecmp(base+8,".tic",4) == 0))) { + Syslog('p', "this is arcmail or tic, no un_attach"); free(allname); return; }