mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-02 12:59:36 -05:00
Fix comment.
This commit is contained in:
parent
27811ffaa9
commit
fe0b1da859
1 changed files with 2 additions and 1 deletions
|
|
@ -1181,7 +1181,8 @@ void autr_write_file(struct module_env* env, struct trust_anchor* tp)
|
|||
log_err("autr_write_file: Module environment is NULL.");
|
||||
return;
|
||||
}
|
||||
/* unique name with pid number and thread number */
|
||||
/* unique name with pid number, thread number, and struct pointer
|
||||
* (the pointer uniquifies for multiple libunbound contexts) */
|
||||
snprintf(tempf, sizeof(tempf), "%s.%d-%d-%llx", fname, (int)getpid(),
|
||||
env->worker?*(int*)env->worker:0, (long long int)tp);
|
||||
verbose(VERB_ALGO, "autotrust: write to disk: %s", tempf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue