mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-31 12:19:39 +02:00
Nicer words for slab hash.
git-svn-id: file:///svn/unbound/trunk@200 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -125,7 +125,8 @@ setup_config(FILE* in, char* configfile, int* lineno,
|
||||
char line[MAX_LINE_LEN];
|
||||
char* parse;
|
||||
FILE* cfg;
|
||||
sprintf(configfile, "/tmp/testbound_cfg_%u.tmp", (unsigned)getpid());
|
||||
snprintf(configfile, MAX_LINE_LEN, "/tmp/testbound_cfg_%u.tmp",
|
||||
(unsigned)getpid());
|
||||
add_opts("-c", pass_argc, pass_argv);
|
||||
add_opts(configfile, pass_argc, pass_argv);
|
||||
cfg = fopen(configfile, "w");
|
||||
@@ -194,7 +195,7 @@ main(int argc, char* argv[])
|
||||
int init_optind = optind;
|
||||
char* init_optarg = optarg;
|
||||
struct replay_scenario* scen = NULL;
|
||||
char cfgfile[128];
|
||||
char cfgfile[MAX_LINE_LEN];
|
||||
|
||||
log_init(NULL);
|
||||
log_info("Start of %s testbound program.", PACKAGE_STRING);
|
||||
|
||||
Reference in New Issue
Block a user