Logging fix
This commit is contained in:
1 parent
74082f406a
commit
b076517c1b
2 files changed
+3
-2
No files matched your search
@@ -174,7 +174,7 @@ namespace Http
|
|||||||
|
|
||||||
function SetState(newState as Http.HttpConnectionState)
|
function SetState(newState as Http.HttpConnectionState)
|
||||||
if m.state <> newState
|
if m.state <> newState
|
||||||
LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState))
|
' LogDebug("state change" + Stri(m.state) + " ->" + Stri(newState))
|
||||||
m.state = newState
|
m.state = newState
|
||||||
end if
|
end if
|
||||||
end function
|
end function
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ end function
|
|||||||
|
|
||||||
function AssocArrayToString(dict as object) as string
|
function AssocArrayToString(dict as object) as string
|
||||||
result = "{"
|
result = "{"
|
||||||
count = dict.count()
|
' This is in case the dictionary has a `count` key
|
||||||
|
count = dict.ifAssociativeArray.count()
|
||||||
i = 0
|
i = 0
|
||||||
for each key in dict
|
for each key in dict
|
||||||
result += key + ": " + ToString(dict[key])
|
result += key + ": " + ToString(dict[key])
|
||||||
|
|||||||
Reference in new issue
Block a user