diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-10-10 22:23:03 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-10-10 22:23:03 +0100 |
| commit | c946034bcadfd380ea521e2f637c8e41a45222a9 (patch) | |
| tree | 0eacc4594c5c3728e5499a4ed472469d244b29c5 /HTTPcode.c | |
| parent | 27278c3915adc59b6bb3ca3e554f037cd6682085 (diff) | |
| parent | 6f53d925994f9b46f3040cc021c3b8c25ea2a5c9 (diff) | |
Merge branch 'debian/latest' into ubuntu/jammy
Diffstat (limited to 'HTTPcode.c')
| -rw-r--r-- | HTTPcode.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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");
}
|
