提交 22049c80 编写于 作者: wuyangyong's avatar wuyangyong

fixed zmodem syntax error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1836 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 f6f81eb0
......@@ -5,6 +5,7 @@
* Change Logs:
* Date Author Notes
* 2011-03-29 itspy
* 2011-12-12 aozima fixed syntax error.
*/
#include <rtthread.h>
......@@ -299,7 +300,7 @@ static rt_err_t zget_file_info(char *name, struct zfile *zf)
zf->fname = full_path;
p = strlen(name)+name+1;
sscanf((const char *)p, "%ld%lo%o", &zf->bytes_total,&zf->ctime,&zf->mode);
#ifdef defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
#if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
dfs_statfs(working_directory,&buf);
if (zf->bytes_total > (buf.f_blocks * buf.f_bfree))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册