From 068a862285f5125f66012a2b6081bc1109c6622a Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 8 Sep 2015 22:14:41 +0000 Subject: [PATCH] Fix bug (can't import >1 echo from fidonet.na files) introduced in rev 1.39 (warning fixes). --- src/sbbs3/scfg/scfgmsg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbbs3/scfg/scfgmsg.c b/src/sbbs3/scfg/scfgmsg.c index 926e080c82..056cf210f0 100644 --- a/src/sbbs3/scfg/scfgmsg.c +++ b/src/sbbs3/scfg/scfgmsg.c @@ -6,7 +6,7 @@ * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * * - * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html * + * Copyright Rob Swindell - http://www.synchro.net/copyright.html * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of the GNU General Public License * @@ -694,6 +694,7 @@ while(1) { if(!stricmp(cfg.sub[u]->code_suffix,tmpsub.code_suffix)) break; } + j=u; if(j==total_subs) { j=cfg.total_subs; if((cfg.sub=(sub_t **)realloc(cfg.sub -- GitLab