Now storing 3d addresses instead of 2d addresses for seenby lists
This commit is contained in:
parent
2e2208bb97
commit
c553fc3489
@ -4240,6 +4240,11 @@ v0.33.19 26-Oct-2001
|
||||
SETUP.sh
|
||||
Better grep to check for excisting usernames like bbs, mbse.
|
||||
|
||||
libcommon.a:
|
||||
When adding seenby entries, the zone number is copied from the
|
||||
previous adress just like with the net numbers. This is for
|
||||
old style tic files, they were not full 3d.
|
||||
|
||||
lang:
|
||||
Changed language prompts 6, 71, 429.
|
||||
Added language prompts 472 and 473 for FS editor.
|
||||
|
@ -1,8 +1,7 @@
|
||||
/*****************************************************************************
|
||||
*
|
||||
* File ..................: falists.c
|
||||
* $Id$
|
||||
* Purpose ...............: SEEN-BY and PATH lists
|
||||
* Last modification date : 31-Jul-2001
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-2001
|
||||
@ -80,7 +79,7 @@ void fill_list(fa_list **fap, char *str, fa_list **omit)
|
||||
{
|
||||
fa_list *tmp;
|
||||
faddr *ta;
|
||||
static unsigned int oldnet;
|
||||
static unsigned int oldzone, oldnet;
|
||||
char *buf, *p, *q, *r;
|
||||
int allowskip = 1;
|
||||
|
||||
@ -94,6 +93,10 @@ void fill_list(fa_list **fap, char *str, fa_list **omit)
|
||||
p;
|
||||
p = (q < r) ? strtok(q, " \t\n"):NULL, q = p ? p + strlen(p) + 1:r)
|
||||
if ((ta = parsefnode(p))) {
|
||||
if (ta->zone == 0)
|
||||
ta->zone = oldzone;
|
||||
else
|
||||
oldzone = ta->zone;
|
||||
if (ta->net == 0)
|
||||
ta->net = oldnet;
|
||||
else
|
||||
|
Reference in New Issue
Block a user