Skip to content
Snippets Groups Projects
Commit 068a8622 authored by rswindell's avatar rswindell
Browse files

Fix bug (can't import >1 echo from fidonet.na files) introduced in rev 1.39

(warning fixes).
parent c4b6a31b
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * * @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 * * This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License * * modify it under the terms of the GNU General Public License *
...@@ -694,6 +694,7 @@ while(1) { ...@@ -694,6 +694,7 @@ while(1) {
if(!stricmp(cfg.sub[u]->code_suffix,tmpsub.code_suffix)) if(!stricmp(cfg.sub[u]->code_suffix,tmpsub.code_suffix))
break; break;
} }
j=u;
if(j==total_subs) { if(j==total_subs) {
j=cfg.total_subs; j=cfg.total_subs;
if((cfg.sub=(sub_t **)realloc(cfg.sub if((cfg.sub=(sub_t **)realloc(cfg.sub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment