From 0140e4395503068186e46140404071614e94b9a1 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 9 Dec 2001 22:21:04 +0000 Subject: [PATCH] Fixed TIC From check bug --- mbfido/mover.c | 2 +- mbfido/tic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mbfido/mover.c b/mbfido/mover.c index cbfcc806..250b4199 100644 --- a/mbfido/mover.c +++ b/mbfido/mover.c @@ -46,7 +46,7 @@ void mover(char *fn) To = calloc(PATH_MAX, sizeof(char)); sprintf(From, "%s/%s", TIC.Inbound, fn); - sprintf(To, "%s/%s", TIC.Inbound, fn); + sprintf(To, "%s/%s", CFG.badtic, fn); Syslog('!', "Moving %s to %s", From, To); if (mkdirs(To)) { diff --git a/mbfido/tic.c b/mbfido/tic.c index f2e173c0..34c3a9f5 100644 --- a/mbfido/tic.c +++ b/mbfido/tic.c @@ -359,7 +359,7 @@ int LoadTic(char *inb, char *tfn) Log = NULL; } - strcpy(Temp, TIC.TicIn.Origin); + strcpy(Temp, TIC.TicIn.From); TIC.Aka.zone = atoi(strtok(Temp, ":")); TIC.Aka.net = atoi(strtok(NULL, "/")); TIC.Aka.node = atoi(strtok(NULL, "@\0"));