Inverted class/channel in __(SET|GET)_DEBUGGING macros.
This commit is contained in:
parent
279d1174fd
commit
739c318fff
|
@ -220,7 +220,7 @@ BOOL MAIN_ParseDebugOptions(char *options)
|
||||||
for (i=0; i<DEBUG_CHANNEL_COUNT; i++)
|
for (i=0; i<DEBUG_CHANNEL_COUNT; i++)
|
||||||
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
||||||
if(cls == -1 || cls == j)
|
if(cls == -1 || cls == j)
|
||||||
__SET_DEBUGGING( i, j, (*options=='+') );
|
__SET_DEBUGGING( j, i, (*options=='+') );
|
||||||
}
|
}
|
||||||
else if (!lstrncmpiA(options+1, "relay=", 6) ||
|
else if (!lstrncmpiA(options+1, "relay=", 6) ||
|
||||||
!lstrncmpiA(options+1, "snoop=", 6))
|
!lstrncmpiA(options+1, "snoop=", 6))
|
||||||
|
@ -232,7 +232,7 @@ BOOL MAIN_ParseDebugOptions(char *options)
|
||||||
if (debug_ch_name && (!lstrncmpiA(debug_ch_name[i],options+1,5))){
|
if (debug_ch_name && (!lstrncmpiA(debug_ch_name[i],options+1,5))){
|
||||||
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
||||||
if(cls == -1 || cls == j)
|
if(cls == -1 || cls == j)
|
||||||
__SET_DEBUGGING( i, j, 1 );
|
__SET_DEBUGGING( j, i, 1 );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* should never happen, maybe assert(i!=DEBUG_CHANNEL_COUNT)? */
|
/* should never happen, maybe assert(i!=DEBUG_CHANNEL_COUNT)? */
|
||||||
|
@ -272,7 +272,7 @@ BOOL MAIN_ParseDebugOptions(char *options)
|
||||||
if (debug_ch_name && (!lstrncmpiA(options+1,debug_ch_name[i],l-1))){
|
if (debug_ch_name && (!lstrncmpiA(options+1,debug_ch_name[i],l-1))){
|
||||||
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
for(j=0; j<DEBUG_CLASS_COUNT; j++)
|
||||||
if(cls == -1 || cls == j)
|
if(cls == -1 || cls == j)
|
||||||
__SET_DEBUGGING( i, j, (*options=='+') );
|
__SET_DEBUGGING( j, i, (*options=='+') );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i==DEBUG_CHANNEL_COUNT)
|
if (i==DEBUG_CHANNEL_COUNT)
|
||||||
|
|
Loading…
Reference in New Issue