Browse Source

Add notify and diff subid details

master
Con Kolivas 10 years ago
parent
commit
c8025958f9
  1. 4
      src/stratifier.c

4
src/stratifier.c

@ -1210,7 +1210,7 @@ static void update_notify(ckpool_t *ckp, const char *cmd)
LOGNOTICE("No valid proxy %d:%d subscription to update notify yet", id, subid); LOGNOTICE("No valid proxy %d:%d subscription to update notify yet", id, subid);
goto out; goto out;
} }
LOGNOTICE("Got updated notify for proxy %d", id); LOGNOTICE("Got updated notify for proxy %d:%d", id, subid);
wb = ckzalloc(sizeof(workbase_t)); wb = ckzalloc(sizeof(workbase_t));
wb->ckp = ckp; wb->ckp = ckp;
@ -1305,7 +1305,7 @@ static void update_diff(ckpool_t *ckp, const char *cmd)
json_dblcpy(&diff, val, "diff"); json_dblcpy(&diff, val, "diff");
json_decref(val); json_decref(val);
LOGNOTICE("Got updated diff for proxy %d", id); LOGNOTICE("Got updated diff for proxy %d:%d", id, subid);
proxy = subproxy_by_id(sdata, id, subid); proxy = subproxy_by_id(sdata, id, subid);
/* We only really care about integer diffs so clamp the lower limit to /* We only really care about integer diffs so clamp the lower limit to

Loading…
Cancel
Save