Fixedd commandline address parsing
This commit is contained in:
parent
c267018fd8
commit
0a67e85966
@ -6,6 +6,10 @@ v0.91.2 14-Jan-2007
|
||||
If no suitable compressor found for binkp transfers then don't
|
||||
complain.
|
||||
|
||||
mbselib:
|
||||
Fixed commandline address parsing if a 2d address was given.
|
||||
|
||||
|
||||
|
||||
v0.91.1 22-Dec-2006
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Purpose ...............: BinkleyTerm outbound naming
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1997-2005
|
||||
* Copyright (C) 1997-2007
|
||||
*
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
@ -76,6 +76,13 @@ char *prepbuf(faddr *addr)
|
||||
domain = xstrcpy(GetFidoDomain(addr->zone));
|
||||
}
|
||||
|
||||
/*
|
||||
* If we got a 2d address, add the default zone.
|
||||
*/
|
||||
if (addr->zone == 0 ) {
|
||||
addr->zone = CFG.aka[0].zone;
|
||||
}
|
||||
|
||||
if ((domain != NULL) && (strlen(CFG.aka[0].domain) != 0) && (strcasecmp(domain,CFG.aka[0].domain) != 0)) {
|
||||
if ((p = strrchr(buf,'/')))
|
||||
p++;
|
||||
|
Reference in New Issue
Block a user