send first clientstring via network and then parse

This commit is contained in:
PolynomialDivision 2017-12-16 00:48:00 +01:00
parent 3b6f6e1fc4
commit c6336b7c48

View file

@ -599,10 +599,11 @@ static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_
if (!msg)
return;
parse_to_clients(msg, 1, req->peer);
char *str = blobmsg_format_json(msg, true);
send_string_enc(str);
parse_to_clients(msg, 1, req->peer);
print_client_array();
print_ap_array();
}