Skip to content
Snippets Groups Projects
Commit d4589bb6 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

tools/c: use new api

parent 484878ae
Branches
Tags
No related merge requests found
......@@ -88,7 +88,7 @@ int main()
// Put data
const char* data_str = "yo, this is some data";
dht_value* val = dht_value_new(data_str, strlen(data_str));
dht_value* val = dht_value_new_from_string(data_str);
dht_runner_put(runner, &h, val, dht_done_callback, runner, false);
dht_value_unref(val);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment