From 2cf777e8a8fe15672843ec02c1f0237e1f633e10 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 3 Dec 2002 21:43:28 +0000 Subject: [PATCH] Unpacked mail for directory nodes had the wrong filename --- ChangeLog | 2 ++ mbfido/queue.c | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 63ec6468..6bec8b0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -70,6 +70,8 @@ v0.35.06 on the new nodes setting. When writing ticfiles for downlinks, the format of the Seenby lines now depends on the new nodes setting. + When adding unpacked mail for a directory node, the mail + packets had the wrong filename. mbcico: With filetransfer errors, the attempts counter was not diff --git a/mbfido/queue.c b/mbfido/queue.c index 95f1d701..d8ab81f2 100644 --- a/mbfido/queue.c +++ b/mbfido/queue.c @@ -458,10 +458,11 @@ void flush_dir(char *ndir) flavor = 'o'; if (nodes.Session_out == S_DIR) { - if (noden.point) - sprintf(arcfile, "%s/%08x.%cut", nodes.Dir_out_path, noden.point, flavor); - else - sprintf(arcfile, "%s/%04x%04x.%cut", nodes.Dir_out_path, noden.net, noden.node, flavor); +// if (noden.point) +// sprintf(arcfile, "%s/%08x.%cut", nodes.Dir_out_path, noden.point, flavor); +// else +// sprintf(arcfile, "%s/%04x%04x.%cut", nodes.Dir_out_path, noden.net, noden.node, flavor); + sprintf(arcfile, "%s/%08lx.pkt", nodes.Dir_out_path, sequencer()); } else { sprintf(arcfile, "%s", pktname(&noden, flavor)); }