Changeset 36 for trunk/oscam-reader.c


Ignore:
Timestamp:
04/05/09 01:37:04 (12 years ago)
Author:
smurzch2
Message:

Timeout patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-reader.c

    r21 r36  
    388388  if (master_pid!=getppid()) cs_exit(0);
    389389  tcp_toflag=(fd2 && is_tcp && reader[ridx].tcp_ito && reader[ridx].tcp_connected);
     390  tv.tv_sec = 0;
     391  tv.tv_usec = 100000L;
    390392  if (tcp_toflag)
    391393  {
     
    394396    use_tv = 1;
    395397  }
    396   tv.tv_sec = 0;
    397   tv.tv_usec = 100000L;
    398398  FD_ZERO(&fds);
    399399  FD_SET(fd1, &fds);
Note: See TracChangeset for help on using the changeset viewer.