|
我把您编写的脚本如下在Action上运行
#include "web_api.h"
Action()
{
char* abort="aborting...";
char * my_host;
char *ip;
ip = lr_get_vuser_ip();
if (ip)
lr_output_message("The IP address is %s", ip);
else
lr_output_message("IP spoofing disabled");
lr_message ("login failed: %s", abort);
lr_save_datetime("Tomorrow is %B %d %Y", DATE_NOW +ONE_DAY, "next");
lr_output_message(lr_eval_string("{next}"));
my_host = lr_get_host_name( );
lr_output_message("您的机器名称:%s", my_host);
得到下面的结果,不知道是什么原因
vuser_end.c (5): syntax error; found `{' expecting `;'
c:\\documents and settings\\\277\354\300\326\271\244\327\367\\local settings\\temp\\noname44\\\\combined_noname44.c (4): syntax error; found `end of input' expecting `}'
c:\\documents and settings\\\277\354\300\326\271\244\327\367\\local settings\\temp\\noname44\\\\combined_noname44.c (4): 2 errors, not writing pre_cci.ci |
|