Changeset 2795
- Timestamp:
- 07/21/10 17:47:42 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam.c
r2794 r2795 1463 1463 1464 1464 if (select(out_fd + 1, NULL, &wfds, &ewfds, &tv) == -1) { 1465 cs_log("pipe_WaitToWrite() error on fd=%d, select_ret=-1, errno=%d ", out_fd, errno);1465 cs_log("pipe_WaitToWrite() error on fd=%d, select_ret=-1, errno=%d %s", out_fd, errno, strerror(errno)); 1466 1466 return 0; 1467 1467 } 1468 1468 1469 1469 if (FD_ISSET(out_fd, &ewfds)) { 1470 cs_log("pipe_WaitToWrite() error on fd=%d, fd is in ewfds, errno=%d ", out_fd, errno);1470 cs_log("pipe_WaitToWrite() error on fd=%d, fd is in ewfds, errno=%d %s", out_fd, errno, strerror(errno)); 1471 1471 return 0; 1472 1472 } 1473 1473 1474 1474 if (!FD_ISSET(out_fd, &wfds)) { 1475 cs_log("pipe_WaitToWrite() error on fd=%d, fd is not in wfds, errno=%d ", out_fd, errno);1475 cs_log("pipe_WaitToWrite() error on fd=%d, fd is not in wfds, errno=%d %s", out_fd, errno, strerror(errno)); 1476 1476 return 0; 1477 1477 } … … 1487 1487 { 1488 1488 // check is write to pipe ready 1489 if (!pipe_WaitToWrite(fd, 100 0))1489 if (!pipe_WaitToWrite(fd, 100)) 1490 1490 return -1; 1491 1491
Note:
See TracChangeset
for help on using the changeset viewer.