Skip to content
Snippets Groups Projects
Commit c710c6b8 authored by Niels Möller's avatar Niels Möller
Browse files

* src/rsync/send.c (rsync_send_init): Rewrote. Allocates a

slightly larger buffer.
(rsync_send_eof): New function.
(rsync_send_copy_in): Deleted th dst argument. Update sum_md5 and
size.
(rsync_send_read): New function.
(rsync_send_search): New function.
(rsync_send_flush): New function.
(rsync_send_write): New function.
(rsync_send): Rewrote and simplified. Now uses fewer states,
simpler eof handling, and calls several smaller functions.

* src/rsync/generate.c, src/rsync/receive.c, src/rsync/send.c,
src/rsync/rsync.h: Changed return types from int to enum
rsync_result_t.

Rev: src/rsync/send.c:1.5
parent 20b6d7b8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment