summaryrefslogtreecommitdiff
path: root/HTTPcode.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-10-10 22:07:04 +0100
committerDave Hibberd <d@vehibberd.com>2023-10-10 22:07:04 +0100
commit7b2a99c53b210949fb2e993e65b6be66a9cbf7a1 (patch)
treee5feda7463d38022eef6eedf032423189e9d3dce /HTTPcode.c
parent084ecb74f6007abbb7e1578675964ac9352ef822 (diff)
New upstream version 6.0.24.15upstream/6.0.24.15
Diffstat (limited to 'HTTPcode.c')
-rw-r--r--HTTPcode.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/HTTPcode.c b/HTTPcode.c
index daeb195..30cf2bd 100644
--- a/HTTPcode.c
+++ b/HTTPcode.c
@@ -99,6 +99,8 @@ extern UCHAR LogDirectory[];
extern struct RIGPORTINFO * PORTInfo[34];
extern int NumberofPorts;
+extern UCHAR ConfigDirectory[260];
+
char * strlop(char * buf, char delim);
VOID sendandcheck(SOCKET sock, const char * Buffer, int Len);
int CompareNode(const void *a, const void *b);
@@ -1475,13 +1477,13 @@ VOID SaveConfigFile(SOCKET sock , char * MsgPtr, char * Rest, int LOCAL)
MsgLen = (int)strlen(input + 8);
- if (BPQDirectory[0] == 0)
+ if (ConfigDirectory[0] == 0)
{
strcpy(inputname, "bpq32.cfg");
}
else
{
- strcpy(inputname,BPQDirectory);
+ strcpy(inputname,ConfigDirectory);
strcat(inputname,"/");
strcat(inputname, "bpq32.cfg");
}
@@ -3024,13 +3026,13 @@ doHeader:
if (COOKIE ==FALSE)
Key = DummyKey;
- if (BPQDirectory[0] == 0)
+ if (ConfigDirectory[0] == 0)
{
strcpy(inputname, "bpq32.cfg");
}
else
{
- strcpy(inputname,BPQDirectory);
+ strcpy(inputname,ConfigDirectory);
strcat(inputname,"/");
strcat(inputname, "bpq32.cfg");
}