Changeset 8367
- Timestamp:
- 02/18/13 02:52:54 (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/globals.h
r8366 r8367 931 931 struct s_auth *account; 932 932 int32_t udp_fd; 933 int32_t fd_m2c; // master writes to this fd934 int32_t fd_m2c_c; // client reads from this fd935 uint16_t pipecnt;936 CS_MUTEX_LOCK pipelock;937 933 struct SOCKADDR udp_sa; 938 934 socklen_t udp_sa_len; -
trunk/module-dvbapi-azbox.c
r8351 r8367 60 60 cs_ftime(&tp); 61 61 tp.time+=500; 62 63 /*64 while(1) {65 chk_pending(tp);66 67 if (poll(&pfd, 1, 10) < 0)68 continue;69 70 if (pfd.revents & (POLLHUP | POLLNVAL)) {71 cs_debug_mask(D_DVBAPI, LOG_PREFIX "ecm/cw error");72 break;73 }74 75 if (pfd.revents & (POLLIN | POLLPRI)) {76 chk_dcw(cur_client()->fd_m2c_c);77 break;78 }79 }*/80 62 } 81 63 -
trunk/module-dvbapi-mca.c
r8351 r8367 244 244 cs_ftime(&tp); 245 245 tp.time+=500; 246 247 /*248 while(1) {249 chk_pending(tp);250 251 if (poll(&pfd, 1, 10) < 0)252 continue;253 254 if (pfd.revents & (POLLHUP | POLLNVAL)) {255 cs_debug_mask(D_DVBAPI, LOG_PREFIX "ecm/cw error");256 break;257 }258 259 if (pfd.revents & (POLLIN | POLLPRI)) {260 chk_dcw(cur_client()->fd_m2c_c);261 break;262 }263 }*/264 246 } 265 247 -
trunk/module-monitor.c
r8341 r8367 157 157 memcpy(bbuf, buf+bsize, bpos=n-bsize); 158 158 n=bsize; 159 //write_to_pipe(client->fd_m2c, PIP_ID_UDP, (uchar*)&nbuf, sizeof(nbuf));160 159 uchar *nbuf_cpy; 161 160 if (cs_malloc(&nbuf_cpy, sizeof(nbuf))) { … … 191 190 memcpy(bbuf, p+1, bpos); 192 191 n=p-buf; 193 //write_to_pipe(client->fd_m2c, PIP_ID_UDP, (uchar*)&nbuf, sizeof(nbuf));194 192 uchar *nbuf_cpy; 195 193 if (cs_malloc(&nbuf_cpy, sizeof(nbuf))) {
Note:
See TracChangeset
for help on using the changeset viewer.