int retcode = Jim_Eval_Named(interp, script, "httpd.c", __LINE__ );\r
free((void *) script);\r
if (retcode != JIM_OK)\r
- return retcode;\r
+ {\r
+ Jim_SetResult(interp, Jim_NewEmptyStringObj(interp));\r
+ } else\r
+ {\r
+ Jim_SetResult(interp, Jim_GetResult(interp));\r
+ }\r
\r
- Jim_SetResult(interp, Jim_GetResult(interp));\r
return JIM_OK;\r
}\r
\r
r = (struct httpd_request *) *ptr;\r
\r
r->post = post;\r
-\r
-// r->dict = Jim_NewDictObj(interp, NULL, 0);\r
+ Jim_SetVariableStr(interp, "httppostdata", Jim_NewDictObj(interp, NULL, 0));\r
\r
/* fill in url query strings in dictonary */\r
MHD_get_connection_values(connection, MHD_GET_ARGUMENT_KIND,\r
}\r
\r
/* hand over to request who will be using it. */\r
- //Jim_SetGlobalVariableStr(interp, "httppostdata", Jim_GetVariableStr(interp, "httppostdata", 0));\r
// r->dict = NULL;\r
\r
\r