Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlo committed Jun 6, 2015
1 parent 522962e commit 3d72174
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/config_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ static int ProcessTriggerElement(xmlNode * a_node)
}

//Optional
entry.params.trigger.switch_back = 0;
r_switch_back = (char*) xmlGetProp(a_node, (xmlChar*) X_ATTR_SWITCH_BACK);
if(r_switch_back)
{
Expand All @@ -640,6 +641,7 @@ static int ProcessTriggerElement(xmlNode * a_node)
xmlFree(r_switch_back);

//Optional
entry.params.trigger.delay = 0;
GetIntProp(a_node, X_ATTR_DELAY, &entry.params.trigger.delay);

if(ret != -1)
Expand Down

0 comments on commit 3d72174

Please sign in to comment.