mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 01:46:02 -05:00
little more debug info -- fix cvar problem in debug
This commit is contained in:
parent
e35cf88e50
commit
727ba5e076
@ -233,7 +233,7 @@ int pl_eval_node(MP3FILE *pmp3, PL_NODE *pnode) {
|
|||||||
if(!cval)
|
if(!cval)
|
||||||
cval = "";
|
cval = "";
|
||||||
|
|
||||||
DPRINTF(ERR_DEBUG,"Matching %s to %s\n",argc,pnode->arg2.cval);
|
DPRINTF(ERR_DEBUG,"Matching %s to %s\n",cval,pnode->arg2.cval);
|
||||||
|
|
||||||
switch(boolarg) {
|
switch(boolarg) {
|
||||||
case IS:
|
case IS:
|
||||||
@ -248,6 +248,8 @@ int pl_eval_node(MP3FILE *pmp3, PL_NODE *pnode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(pnode->type==T_INT) {
|
if(pnode->type==T_INT) {
|
||||||
|
DPRINTF(ERR_DEBUG,"Comparing %d to %d\n",ival,pnode->arg2,ival);
|
||||||
|
|
||||||
switch(boolarg) {
|
switch(boolarg) {
|
||||||
case EQUALS:
|
case EQUALS:
|
||||||
r_arg=(ival == pnode->arg2.ival);
|
r_arg=(ival == pnode->arg2.ival);
|
||||||
@ -265,7 +267,7 @@ int pl_eval_node(MP3FILE *pmp3, PL_NODE *pnode) {
|
|||||||
r_arg=(ival <= pnode->arg2.ival);
|
r_arg=(ival <= pnode->arg2.ival);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return not? !r_arg : r_arg;
|
retval = not? !r_arg : r_arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* can't get here */
|
/* can't get here */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user