提交 c31c721a 编写于 作者: S sun_fan

init: fix bugs ..

Signed-off-by: Nsun_fan <sun_fan1@hoperun.com>
上级 5a5bad86
......@@ -430,6 +430,7 @@ static void DoCopy(const char *cmdContent, int maxArg)
struct CmdArgs *ctx = GetCmd(cmdContent, " ", maxArg);
if (ctx == NULL || ctx->argv == NULL || ctx->argc != DEFAULT_COPY_ARGS_CNT) {
INIT_LOGE("Command copy with invalid arguments");
FreeCmd(ctx);
return;
}
char srcPath[PATH_MAX] = {0};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册