Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/simple: fix wrong condition checking of writing TAG_CLOSE on closing #10343

Merged
merged 1 commit into from Jul 26, 2016

Commits on Jul 19, 2016

  1. msg/simple: fix wrong condition checking of writing TAG_CLOSE on closing

    The sd is initialized to -1 and will be resetted to -1 whenever it is
    invalidated. So "if (sd)" is not reasonable enough to determine whether
    or not the sd is currently still in use.
    
    Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
    xiexingguo committed Jul 19, 2016
    Copy the full SHA
    483e5fc View commit details
    Browse the repository at this point in the history