Browse Source

Don't send proxy diff till it's set yet

master
Con Kolivas 10 years ago
parent
commit
9edfbc8790
  1. 4
      src/generator.c

4
src/generator.c

@ -986,6 +986,10 @@ static void send_diff(ckpool_t *ckp, proxy_instance_t *proxi)
if (proxi == proxy) if (proxi == proxy)
return; return;
/* Not set yet */
if (!proxi->diff)
return;
JSON_CPACK(json_msg, "{sisisf}", JSON_CPACK(json_msg, "{sisisf}",
"proxy", proxy->id, "proxy", proxy->id,
"subproxy", proxi->id, "subproxy", proxi->id,

Loading…
Cancel
Save