From 358e1357772dd331b0866eca7b309beb963953d2 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 22 Nov 2005 20:03:38 +0000 Subject: [PATCH] Added real delete for orphaned ticfiles --- mbfido/tic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mbfido/tic.c b/mbfido/tic.c index 9116f477..31248271 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -202,6 +202,7 @@ int Tic() if (tmp->Purged) { fname = calloc(PATH_MAX, sizeof(char)); snprintf(fname, PATH_MAX, "%s/%s", inbound, tmp->TicName); + unlink(fname); Syslog('+', "Removing obsolete %s", tmp->TicName); free(fname); }