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

src: remove out-of-date TODO comment #9000

Closed
wants to merge 1 commit into from

Commits on Oct 10, 2016

  1. src: remove out-of-date TODO comment

    This commit attempts to fix one of the items in
    nodejs#4641, which was to remove a
    TODO the UDPWrap::OnSend function and share the code in that method with
    StreamWrap::AfterWrite.
    
    While looking into this addaleax pointed out that the implementations
    for these two functions have diverged since the original comment
    was added:
    
    $ git log --pretty=short -u -L 357,357:src/udp_wrap.cc
    
    $ git show cbd4033:src/udp_wrap.cc |
    grep -1 -A26 'UDPWrap::OnSend'
    
    git show cbd4033:src/stream_wrap.cc |
    grep -A27 'void StreamWrap::AfterWrite'
    
    Removing the TODO comment seems appropriate in this case.
    danbev committed Oct 10, 2016
    Configuration menu
    Copy the full SHA
    3d77a37 View commit details
    Browse the repository at this point in the history