diff options
author | Martin Pool <mbp@samba.org> | 2001-08-06 12:25:45 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-08-06 12:25:45 +0000 |
commit | e1bd49d6f3f7a5793cc9cd06d57498ce976f81e0 (patch) | |
tree | 0d18844fdb67ab9aaa3c179991e3c6a5923b092a /main.c | |
parent | ab94af5c6f93c3b81af95888197f60522e2eb144 (diff) | |
download | rsync-e1bd49d6f3f7a5793cc9cd06d57498ce976f81e0.tar.gz |
Try to fix "infinite loop" warning on AIX and other compilers. (We
exit on a signal.)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -360,7 +360,8 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name) /* finally we go to sleep until our parent kills us with a USR2 signal. We sleep for a short time as on some OSes a signal won't interrupt a sleep! */ - while (1) msleep(20); + while (msleep(20)) + ; } close(recv_pipe[1]); |