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

c/tools: use memset instead of bzero

parent 48254a67
No related branches found
No related tags found
No related merge requests found
...@@ -302,7 +302,7 @@ OPENDHT_C_PUBLIC void dht_identity_delete(dht_identity* id) { ...@@ -302,7 +302,7 @@ OPENDHT_C_PUBLIC void dht_identity_delete(dht_identity* id) {
// config // config
void dht_runner_config_default(dht_runner_config* config) { void dht_runner_config_default(dht_runner_config* config) {
bzero(config, sizeof(dht_runner_config)); memset(config, 0, sizeof(dht_runner_config));
config->threaded = true; config->threaded = true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment