You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/03/20 09:43:14 UTC
[royale-asjs] branch develop updated: fix warnings
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 35dc42f fix warnings
35dc42f is described below
commit 35dc42f0797c04a1694066ab3bf2ec1fb2cf5cd0
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Mar 20 10:43:05 2019 +0100
fix warnings
---
.../MXRoyale/src/main/royale/mx/messaging/channels/AMFChannel.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/AMFChannel.as b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/AMFChannel.as
index 3938a04..789a715 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/AMFChannel.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/messaging/channels/AMFChannel.as
@@ -542,11 +542,11 @@ public class AMFChannel extends NetConnectionChannel
_log.debug("'{0}' fault handler called. {1}", id, msg.toString());
// Set the server assigned RoyaleClient Id.
- if (RoyaleClient.getInstance().id == null && msg.headers != undefined && msg.headers[AbstractMessage.FLEX_CLIENT_ID_HEADER] != null)
+ if (RoyaleClient.getInstance().id == null && msg["headers"] != undefined && msg.headers[AbstractMessage.FLEX_CLIENT_ID_HEADER] != null)
RoyaleClient.getInstance().id = msg.headers[AbstractMessage.FLEX_CLIENT_ID_HEADER];
// Process the features advertised by the server endpoint.
- if (msg.headers != undefined && msg.headers[CommandMessage.MESSAGING_VERSION] != null)
+ if (msg["headers"] != undefined && msg.headers[CommandMessage.MESSAGING_VERSION] != null)
{
var serverVersion:Number = msg.headers[CommandMessage.MESSAGING_VERSION] as Number;
handleServerMessagingVersion(serverVersion);