Qi Yong
2007-Feb-14 08:44 UTC
Is this condition (am_server == 1 and am_daemon == 0) possible ?
Hello, Is this condition possible (am_server == 1 and am_daemon == 0) ? iow, is this path possible? main() -> start_server() -> start_client() If ture, when? If not, the code should be optimized? thx -- Qi Yong
Matt McCutchen
2007-Feb-14 14:01 UTC
Is this condition (am_server == 1 and am_daemon == 0) possible ?
On 2/14/07, Qi Yong <qiyong@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.> iow, is this path possible? main() -> start_server() -> start_client()No, I don't see any way start_server can call start_client. Matt