Hi
there,
I'm using aolserver_v40_r5 with the following code to use Ns_TclEval:
int status;
Ns_DString result;
Ns_DString script;
Ns_DStringInit(&script);
Ns_DStringInit(&result);
Ns_DStringVarAppend(&script, "set a b", NULL);
status = Ns_TclEval(&result, script.string,
Ns_ConnServer(Ns_GetConn()));
Ns_Log(Debug, "status=%d result='%s'", status, result.string);
I'm getting "status=-1 and result=''" -- does anybody know why it fails?
--
-- Mike
Mike Schilli
[EMAIL PROTECTED]
-- AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
