summaryrefslogtreecommitdiff
path: root/cMain.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-12-03 00:27:59 +0000
committerDave Hibberd <hibby@debian.org>2024-12-03 00:27:59 +0000
commit745a9f8e880f8b9541bca2288e68b7f8d346d58d (patch)
tree26d9f876a470d2f41d3a39403724cd2dc3ccfa02 /cMain.c
parentdd84b546a055a33657f094c2ef6d36a321a545ff (diff)
parent96c573931d40b6b191614c96299d66ca6217d1d8 (diff)
Update upstream source from tag 'upstream/6.0.24.53+repack'
Update to upstream version '6.0.24.53+repack' with Debian dir 64961bc210cd2b4237f556f2eada2c03ed86fd0f
Diffstat (limited to 'cMain.c')
-rw-r--r--cMain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cMain.c b/cMain.c
index 4f9dc9b..0238d3b 100644
--- a/cMain.c
+++ b/cMain.c
@@ -912,7 +912,7 @@ BOOL Start()
PORT->PROTOCOL = (char)PortRec->PROTOCOL;
PORT->IOBASE = PortRec->IOADDR;
- if (PortRec->SerialPortName[0])
+ if (PortRec->SerialPortName && PortRec->SerialPortName[0])
PORT->SerialPortName = _strdup(PortRec->SerialPortName);
else
{