From 7003e67e8b8992c0aa039f5869147eef16565479 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 13 Jun 2012 08:58:39 +0000 Subject: [PATCH] Add log warning if all bundle files for a specific node already exist. --- src/sbbs3/sbbsecho.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index 7395fa5df3..3974d62e4c 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -1721,7 +1721,7 @@ void pack_bundle(char *infile,faddr_t dest) ,strerror(errno)); } if(fexistcase(str)) { - if(flength(str)>=cfg.maxbdlsize) + if(i!='Z' && flength(str)>=cfg.maxbdlsize) continue; file=sopen(str,O_WRONLY,SH_DENYRW); if(file==-1) /* Can't open?!? Probably being sent */ @@ -1750,9 +1750,11 @@ void pack_bundle(char *infile,faddr_t dest) return; } } - + lprintf(LOG_WARNING,"All bundle files for %s already exist, adding to: %s" + ,smb_faddrtoa(&dest,NULL), str); pack(infile,str,dest); /* Won't get here unless all bundles are full */ } + /****************************************************************************** This function checks the inbound directory for the first bundle it finds, it will then unpack and delete the bundle. If no bundles exist this function -- GitLab