summaryrefslogtreecommitdiff
path: root/bpqaxip.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
committerg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
commit75b5bcc9a97b38c6c0c210bf14fabad9cadf704a (patch)
tree913d37a3946a40e9694833ed36fd5a8e02a23d42 /bpqaxip.c
parenta21121fbfce48307740e6ade5f4f16531501b053 (diff)
6.0.23.7623.77
Diffstat (limited to 'bpqaxip.c')
-rw-r--r--bpqaxip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpqaxip.c b/bpqaxip.c
index d4f6579..690f96d 100644
--- a/bpqaxip.c
+++ b/bpqaxip.c
@@ -1344,7 +1344,7 @@ LRESULT FAR PASCAL ConfigWndProc(HWND hWnd,UINT message,WPARAM wParam,LPARAM lPa
BOOL UDPFlag, BCFlag;
struct AXIPPORTINFO * PORT;
- for (i=1; i<33; i++)
+ for (i=1; i <= MAXBPQPORTS; i++)
{
PORT = Portlist[i];
if (PORT == NULL)
@@ -1648,7 +1648,7 @@ LRESULT CALLBACK MHWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam
int i;
- for (i=1; i<33; i++)
+ for (i=1; i <= MAXBPQPORTS; i++)
{
PORT = Portlist[i];
if (PORT == NULL)