• Niels Möller's avatar
    * src/sftp/buffer.c: Let most output-related functions call exit() · 611a27a9
    Niels Möller authored
    directly on failure.
    (sftp_put_reserve_length): New function, replacing sftp_put_reserve.
    (sftp_put_length): New function.
    (sftp_put_final_length): New function.
    (sftp_put_printf): New function.
    (sftp_put_strftime): New function.
    (sftp_clear_attrib): Moved here from sftp-server.c.
    (sftp_skip_extension): Likewise.
    (sftp_get_attrib): Likewise.
    (sftp_put_attrib): Likewise.
    
    Rev: src/sftp/buffer.c:1.3
    Rev: src/sftp/buffer.h:1.3
    611a27a9
buffer.h 2.61 KB