From 5873c90a89de73fdd8a7eb9095422f0720b27d89 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 18 May 2010 18:14:59 +0000 Subject: [PATCH] fixed passing (array) in DI calls (thanks to Matthew Williams for the fix) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1913 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/dsm/DSMCoreModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dsm/DSMCoreModule.cpp b/apps/dsm/DSMCoreModule.cpp index b465d670..357531d4 100644 --- a/apps/dsm/DSMCoreModule.cpp +++ b/apps/dsm/DSMCoreModule.cpp @@ -895,8 +895,8 @@ EXEC_ACTION_START(SCDIAction) { sc_sess->SET_STRERROR("converting value '"+p+"' to int\n"); EXEC_ACTION_STOP; } - } else if (p.length() > 5 && - p.substr(0, 5) =="(array)") { + } else if (p.length() > 7 && + p.substr(0, 7) =="(array)") { p = resolveVars(p.substr(7), sess, sc_sess, event_params); AmArg var_struct; string varprefix = p+".";