Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: small weight handling cleanup
  • Loading branch information
perexg committed Nov 30, 2015
1 parent e7c6962 commit 7408e9c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/satip/rtsp.c
Expand Up @@ -1074,7 +1074,10 @@ rtsp_parse_cmd
rs->delsys = delsys;
rs->frontend = fe;
rs->findex = findex;
rs->weight = weight > 0 ? weight : 0;
if (weight > 0)
rs->weight = weight;
else if (cmd == 1)
rs->weight = 0;
rs->old_hc = hc;

if (cmd) {
Expand Down

0 comments on commit 7408e9c

Please sign in to comment.