Opened 13 years ago

Closed 13 years ago

#5557 closed patch (fixed)

2 line patch to dvbci.cpp

Reported by: torbjorn.jansson@… Owned by: danielk
Priority: trivial Milestone: unknown
Component: dvb Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no


2 Line patch to dvbci.cpp

Changeset r15819 ( Ticket #4604 ) Changed MAXCASYSTEMIDS to 64 but forgot to change the .h file resulting in this warning

dvbdev/dvbci.cpp:962:1: warning: "MAXCASYSTEMIDS" redefined
In file included from dvbdev/dvbci.cpp:27:
dvbdev/dvbci.h:44:1: warning: this is the location of the previous definition

and the second thing this patch does is to add a missing break. without the break you get 2 lines like this in the log:

ERROR: can't create session for resource identifier: 00400041
ERROR: unknown resource identifier: 00400041

instead of just one line (the first one) this should cut down half of the stuff i get in my log file, but still don't know whats causing the first error.

Attachments (1)

dvb-ci.diff (878 bytes) - added by torbjorn.jansson@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by torbjorn.jansson@…

Attachment: dvb-ci.diff added

comment:1 Changed 13 years ago by dekarl@…

The first fix is solved in trunk r16501 already by removing the duplicate define

comment:2 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

(In [18088]) Fixes #5557. Only print one error message wen we fail to create a DVB-CI session, the other error message is redundant.

Note: See TracTickets for help on using tickets.