diff options
| author | Andrew Tridgell <tridge@samba.org> | 1998-05-27 12:37:22 +0000 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 1998-05-27 12:37:22 +0000 |
| commit | 4c36ddbeecdde407c870109d70527640ca127ace (patch) | |
| tree | 40c6f7c9e288d48045d2b2959943cf976a584c22 /compat.c | |
| parent | 2b6b4d539b0aab98b1cbb9d8c639cb12473aae94 (diff) | |
| download | android_external_rsync-4c36ddbeecdde407c870109d70527640ca127ace.tar.gz android_external_rsync-4c36ddbeecdde407c870109d70527640ca127ace.tar.bz2 android_external_rsync-4c36ddbeecdde407c870109d70527640ca127ace.zip | |
heaps of cleanup in the io code.
we no longer use non-blocking IO, instead it uses select a lot more,
being careful to always allow for reading whenever a valid read fd is
available and chcking timeouts.
also split the file io calls into fileio.c
Diffstat (limited to 'compat.c')
| -rw-r--r-- | compat.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -44,10 +44,8 @@ void setup_protocol(int f_out,int f_in) if (am_server) { remote_version = read_int(f_in); write_int(f_out,PROTOCOL_VERSION); - write_flush(f_out); } else { write_int(f_out,PROTOCOL_VERSION); - write_flush(f_out); remote_version = read_int(f_in); } } |
