summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-09-03 21:51:59 +0000
committerWayne Davison <wayned@samba.org>2007-09-03 21:51:59 +0000
commit35c8fd761ff995845dbd5188586b5ca03ef878ab (patch)
tree8ad6444ba3c43031c97336c0b9a092bcdcf892b3 /io.c
parentba2d43d702377fcfbb7b469b27b63ce9f0d7a2f4 (diff)
downloadrsync-35c8fd761ff995845dbd5188586b5ca03ef878ab.tar.gz
rsync-35c8fd761ff995845dbd5188586b5ca03ef878ab.tar.bz2
rsync-35c8fd761ff995845dbd5188586b5ca03ef878ab.zip
Disabled the debug messages relating to the e_fds vars.
Diffstat (limited to 'io.c')
-rw-r--r--io.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/io.c b/io.c
index d6c1462a..3021ac72 100644
--- a/io.c
+++ b/io.c
@@ -778,10 +778,8 @@ int read_filesfrom_line(int fd, char *fname)
tv.tv_usec = 0;
if (!select(fd+1, &r_fds, NULL, &e_fds, &tv))
check_timeout();
- if (FD_ISSET(fd, &e_fds)) {
- rsyserr(FINFO, errno,
- "select exception on fd %d", fd);
- }
+ /*if (FD_ISSET(fd, &e_fds))
+ rprintf(FINFO, "select exception on fd %d\n", fd); */
continue;
}
if (cnt != 1)
@@ -1360,10 +1358,8 @@ static void writefd_unbuffered(int fd, const char *buf, size_t len)
continue;
}
- if (FD_ISSET(fd, &e_fds)) {
- rsyserr(FINFO, errno,
- "select exception on fd %d", fd);
- }
+ /*if (FD_ISSET(fd, &e_fds))
+ rprintf(FINFO, "select exception on fd %d\n", fd); */
if (using_r_fds && FD_ISSET(msg_fd_in, &r_fds))
read_msg_fd();