• Mike Hibler's avatar
    Getting back ETIMEDOUT from a socket read should not be fatal to capture. · 76e1528a
    Mike Hibler authored
    Now it is treaded just like ECONNRESET.
    Also, don't clobber the read errno with the intermediate sigsetmask call
    (though it should never fail and errno should never be affected)
    Change warn() to warning() to avoid conflict with standard BSD library
    routine.  This showed up when statically linking capture.