Project

General

Profile

Bug #3346 » oscam-unassoc-fd-remove.patch

Jaroslav Kysela, 2015-11-26 16:28

View differences:

module-dvbapi.c (working copy)
3352 3352
	demux[demux_id].stopdescramble = 0; // remove deletion mark!
3353 3353

  
3354 3354
	// remove from unassoc_fd when necessary
3355
	for (j = 0; j < MAX_DEMUX; j++)
3356
			if (unassoc_fd[j] == connfd)
3357
					unassoc_fd[j] = 0;
3355
	if(!cfg.dvbapi_listenport && cfg.dvbapi_boxtype != BOXTYPE_PC_NODMX)
3356
		for (j = 0; j < MAX_DEMUX; j++)
3357
				if (unassoc_fd[j] == connfd)
3358
						unassoc_fd[j] = 0;
3358 3359

  
3359 3360
	dvbapi_capmt_notify(&demux[demux_id]);
3360 3361

  
(2-2/2)