Add os_unsetenv()
[exim.git] / src / src / tls.c
index 0406a10f98787f72caabb8a54983141ad43e2dbc..858caa2276facd5bd08bde7027b03d4b4868db43 100644 (file)
@@ -89,7 +89,7 @@ to_tz(uschar * tz)
 {
 uschar * old = US getenv("TZ");
 (void) setenv("TZ", CCS tz, 1);
-tzset(); 
+tzset();
 return old;
 }
 
@@ -99,8 +99,8 @@ restore_tz(uschar * tz)
 if (tz)
   (void) setenv("TZ", CCS tz, 1);
 else
-  (void) unsetenv("TZ");
-tzset(); 
+  (void) os_unsetenv("TZ");
+tzset();
 }
 
 /*************************************************