summaryrefslogtreecommitdiff
path: root/PortMapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'PortMapper.c')
-rw-r--r--PortMapper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/PortMapper.c b/PortMapper.c
index 65bc269..7ec25fd 100644
--- a/PortMapper.c
+++ b/PortMapper.c
@@ -163,8 +163,6 @@ HWND hIPResWnd = 0;
BOOL IPMinimized;
-extern char * PortConfig[];
-
static int baseline=0;
static unsigned char hostaddr[64];
@@ -1237,7 +1235,7 @@ static BOOL ReadConfigFile()
map_table_len = 0; // For reread
- Config = PortConfig[35]; // Config fnom bpq32.cfg
+ Config = PortConfig[PortMapConfigSlot]; // Config from bpq32.cfg
if (Config)
{