putenv more portable

git-svn-id: file:///svn/unbound/trunk@2195 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2010-07-13 14:05:06 +00:00
parent 3070cf38f0
commit d437ccb141

View file

@ -264,7 +264,7 @@ main(int argc, char* argv[])
struct replay_scenario* scen = NULL;
/* we do not want the test to depend on the timezone */
(void)setenv("TZ", "UTC", 1);
(void)putenv("TZ=UTC");
log_init(NULL, 0, NULL);
log_info("Start of %s testbound program.", PACKAGE_STRING);