gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, objecturi, updated. 5b4f0b17971311b28


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, objecturi, updated. 5b4f0b17971311b28776486fa8eb649d2afbd476
Date: Tue, 02 Nov 2010 20:40:31 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, objecturi has been updated
       via  5b4f0b17971311b28776486fa8eb649d2afbd476 (commit)
      from  285be9c26999c44af676896ff15674decd60be57 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=5b4f0b17971311b28776486fa8eb649d2afbd476


commit 5b4f0b17971311b28776486fa8eb649d2afbd476
Author: Sandro Santilli <address@hidden>
Date:   Tue Nov 2 21:20:01 2010 +0100

    Fix build

diff --git a/libcore/asobj/NetConnection_as.cpp 
b/libcore/asobj/NetConnection_as.cpp
index 21c752d..b78e411 100644
--- a/libcore/asobj/NetConnection_as.cpp
+++ b/libcore/asobj/NetConnection_as.cpp
@@ -902,8 +902,7 @@ handleAMFInvoke(amf::Reader& rd, const boost::uint8_t*& b,
         }
 
         VM& vm = getVM(owner);
-        string_table& st = vm.getStringTable();
-        string_table::key key = st.find(headerName);
+        ObjectURI key = getURI(vm, headerName);
 #ifdef GNASH_DEBUG_REMOTING
         log_debug("Invoking %s(%s)", headerName, arg);
 #endif
@@ -995,7 +994,7 @@ HTTPRequest::handleAMFReplies(amf::Reader& rd, const 
boost::uint8_t*& b,
             continue;
         }
 
-        string_table::key methodKey;
+        ObjectURI methodKey;
         if (methodName == "onResult") {
             methodKey = NSV::PROP_ON_RESULT;
         }
@@ -1241,8 +1240,7 @@ RTMPConnection::handleInvoke(const boost::uint8_t* 
payload,
 
     log_debug( "Server invoking <%s>", method);
     
-    string_table& st = getStringTable(_nc.owner());
-    const ObjectURI methodname(st.find(method));
+    const ObjectURI methodname = getURI(getVM(_nc.owner()), method);
 
     // _result means it's the answer to a remote method call initiated
     // by us.

-----------------------------------------------------------------------

Summary of changes:
 libcore/asobj/NetConnection_as.cpp |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]