From e35fad7d9cbb58ca7c3cf31214840185303dc38c Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Wed, 10 Apr 2024 17:49:09 -0400 Subject: [PATCH] Small fix in dial server --- playlet-lib/src/components/Web/Dial/DialServer.bs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/playlet-lib/src/components/Web/Dial/DialServer.bs b/playlet-lib/src/components/Web/Dial/DialServer.bs index 348100e6..239df6da 100644 --- a/playlet-lib/src/components/Web/Dial/DialServer.bs +++ b/playlet-lib/src/components/Web/Dial/DialServer.bs @@ -181,10 +181,8 @@ function CreateSsdpResponse(ssdp as object, webServer as object) as string if libVersion = invalid ' We're supposed to pass the ApplicationInfo node, but since we're not going to use it, we can pass invalid appInfo = new ApplicationInfo(invalid) - if libVersion = invalid - libVersion = appInfo.GetLibVersion() - m._libVersion = libVersion - end if + libVersion = appInfo.GetLibVersion() + m._libVersion = libVersion end if webServerAddress = m._webServerAddress