diff -rud csync2-1.33/conn.c csync2-1.33+write-error-fix/conn.c --- csync2-1.33/conn.c 2006-08-08 19:46:54.000000000 +0200 +++ csync2-1.33+write-error-fix/conn.c 2006-10-06 15:07:56.000000000 +0200 @@ -324,8 +324,14 @@ int conn_write(const void *buf, size_t count) { + int nw; + conn_debug("Local", buf, count); - return WRITE(buf, count); + + do nw = WRITE(buf, count); + while(nw <= 0 && errno == EINTR); + + return nw; } void conn_printf(const char *fmt, ...)