cvs: pecl /activescript scriptengine.cpp
| From: | Wez Furlong | Date: | Mon, 02 Aug 2004 23:25:14 +0000 |
| Subject: | cvs: pecl /activescript scriptengine.cpp | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1620@lists.php.net to get a copy of this message | ||
wez Mon Aug 2 19:25:14 2004 EDT
Modified files:
/pecl/activescript scriptengine.cpp
Log:
Solve mysterious repeated calls call first method called bug.
# try saying that 3 times quickly
http://cvs.php.net/diff.php/pecl/activescript/scriptengine.cpp?r1=1.16&r2=1.17&ty=u
Index: pecl/activescript/scriptengine.cpp
diff -u pecl/activescript/scriptengine.cpp:1.16 pecl/activescript/scriptengine.cpp:1.17
--- pecl/activescript/scriptengine.cpp:1.16 Thu Jul 29 10:07:29 2004
+++ pecl/activescript/scriptengine.cpp Mon Aug 2 19:25:14 2004
@@ -15,7 +15,7 @@
| Authors: Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: scriptengine.cpp,v 1.16 2004/07/29 14:07:29 wez Exp $ */
+/* $Id: scriptengine.cpp,v 1.17 2004/08/02 23:25:14 wez Exp $ */
/* Implementation Notes:
*
@@ -420,6 +420,7 @@
for (i = 0; i < m_ids; i++) {
if (!strcasecmp(m_names[i], aname.ansi_string())) {
trace("already had ID %d for %s\n", i, m_names[i]);
+ *dispid = i;
return i;
}
}