• David Dykstra's avatar
    Close previously opened file descriptor when mkstemp fails in recv_files(). · 8e34cd41
    David Dykstra authored
    Every other failure condition in that function was alreadying doing this,
    and I saw a case with a lot of "mkstemp...No space left on device" messages
    started becoming "mkstemp...Too many open files" messages because of this
    bug.  Not that it makes a whole lot of difference, since nothing gets copied
    because the disk was out of space.
    8e34cd41
receiver.c 12.2 KB