Is this condition (am_server == 1 and am_daemon == 0) possible ?
Qi Yong
qiyong at fc-cn.com
Thu Feb 15 02:18:54 GMT 2007
Matt McCutchen wrote:
> On 2/14/07, Qi Yong <qiyong at fc-cn.com> wrote:
>
>> Is this condition possible (am_server == 1 and am_daemon == 0) ?
>
>
> Yes, this is true of the remote rsync process in an rsync session over
> SSH.
If so, what is (am_server ==1 and am_daemon == 1) for?
>
>> iow, is this path possible? main() -> start_server() -> start_client()
>
>
> No, I don't see any way start_server can call start_client.
I mean main can call start_client after start_server returns.
thanks
--
Qi Yong
More information about the rsync
mailing list