mirror of
https://github.com/wifinigel/MikrotikScripting.git
synced 2025-07-10 01:54:30 +02:00
Syntax errors
These changes have not been verified, but it seems clear that they are error.
This commit is contained in:
parent
78cac6a07c
commit
b6b5e2a58c
6 changed files with 18 additions and 18 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
# check arg type str of correct length passed
|
||||
:if (([:typeof $WebSiteName] != "str") or \
|
||||
([:len value=$WebSiteName] < 6)) do={
|
||||
([:len $WebSiteName] < 6)) do={
|
||||
$LogMessageFunc ("DnsResolveFunc: arg value $WebSiteName not \
|
||||
a valid string!");
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
|||
|
||||
# check arg type str of correct length passed
|
||||
:if (([:typeof $SiteName] != "str") or \
|
||||
([:len value=$SiteName] < 6)) do={
|
||||
([:len $SiteName] < 6)) do={
|
||||
$LogMessageFunc ("GetWebPageFunc: arg value $SiteName not a \
|
||||
valid string!");
|
||||
:return "*** test failed ***";
|
||||
|
@ -80,7 +80,7 @@
|
|||
} on-error={
|
||||
$LogMessageFunc ("GetWebPageFunc: unable to retrieve site: \
|
||||
$SiteName !");
|
||||
:return { "duration"="*** test failed ***" }
|
||||
:return { "*** test failed ***" }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue