const char *op = http_arg_get(&hc->hc_req_args, "op");
const char *entries = http_arg_get(&hc->hc_req_args, "entries");
+ if(op == NULL)
+ return 400;
+
if(tablename == NULL || (dt = dtable_find(tablename)) == NULL)
return 404;
const char *op = http_arg_get(&hc->hc_req_args, "op");
const char *entries = http_arg_get(&hc->hc_req_args, "entries");
+ if(op == NULL)
+ return 400;
+
htsmsg_autodtor(in) =
entries != NULL ? htsmsg_json_deserialize(entries) : NULL;
htsmsg_t *out, *array, *e, *r;
const char *s;
+ if(op == NULL)
+ return 400;
+
pthread_mutex_lock(&global_lock);
if(http_access_verify(hc, ACCESS_ADMIN)) {
service_t *t, **tvec;
int count = 0, i = 0;
+ if(op == NULL)
+ return 400;
+
pthread_mutex_lock(&global_lock);
in = entries != NULL ? htsmsg_json_deserialize(entries) : NULL;