Changeset 5356


Ignore:
Timestamp:
Jun 5, 2011, 7:28:34 PM (9 years ago)
Author:
Admin
Message:

If OSCam was compiled with debug the behaviour was like the following: A function is called via the call macro. If the function fails, a log is output and the current function also returns an error. As this is not the case with debug disabled it is not consistent. According to ngc1927 in #1906 removing this "return" fixes the enable/disable problem for sci readers and has not come to a drawback yet. If you experience drawbacks in hardware readers from this change (can only happen when the readers have other failures!), please report in the forum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/globals.h

    r5354 r5356  
    6464    if (arg) { \
    6565        cs_debug_mask(D_TRACE, "ERROR, function call %s returns error.",#arg); \
    66         return ERROR; \
    6766    }
    6867# define D_USE(x) x
Note: See TracChangeset for help on using the changeset viewer.