summaryrefslogtreecommitdiffstats
path: root/playtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'playtree.c')
-rw-r--r--playtree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/playtree.c b/playtree.c
index b42333faf5..ff2e6e72cc 100644
--- a/playtree.c
+++ b/playtree.c
@@ -403,8 +403,9 @@ play_tree_iter_push_params(play_tree_iter_t* iter) {
for(n = 0; pt->params[n].name != NULL ; n++) {
- if(m_config_set_option(iter->config,pt->params[n].name,pt->params[n].value) < 0) {
- mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error while setting option '%s' with value '%s'\n",
+ int e;
+ if((e = m_config_set_option(iter->config,pt->params[n].name,pt->params[n].value)) < 0) {
+ mp_msg(MSGT_PLAYTREE,MSGL_ERR,"Error %d while setting option '%s' with value '%s'\n",e,
pt->params[n].name,pt->params[n].value);
}
}