Skip to content
Commit ed698c4d authored by zhangxiao's avatar zhangxiao Committed by Martin Jansa
Browse files

tftp-hpa: bug fix on empty file put error



With the feature that checking the disk filled up, the return value of
function write_behind was checked and used to detect the disk status.
While for empty file, without data being written, this function will
return -1 thus the disk filled up error was miss-raised. Fix it.

Signed-off-by: default avatarZhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 01816e44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment