Skip to content

Commit

Permalink
uac: uac_reg: Only set UAC_REG_INIT flag if it was not set yet
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaf committed Jul 28, 2016
1 parent 5d83785 commit bf31092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/uac/uac_reg.c
Expand Up @@ -1047,8 +1047,8 @@ int uac_reg_update(reg_uac_t *reg, time_t tn)
return 2;
}
}
reg->flags |= UAC_REG_INIT;
}
reg->flags |= UAC_REG_INIT;

if(reg->timer_expires > tn + reg_timer_interval + 3)
return 3;
Expand Down

0 comments on commit bf31092

Please sign in to comment.