Commit a58210e4 a58210e423ced0154acb94b1250df310c29cc6c1 by Sergey Poznyakoff

Use util_getenv().

1 parent bc5ab04a
...@@ -30,7 +30,7 @@ sig_handler (int signo) ...@@ -30,7 +30,7 @@ sig_handler (int signo)
30 switch (signo) 30 switch (signo)
31 { 31 {
32 case SIGINT: 32 case SIGINT:
33 if (util_find_env ("quit")->set) 33 if (util_getenv (NULL, "quit", Mail_env_boolean, 0) == 0)
34 exit (0); 34 exit (0);
35 _interrupted++; 35 _interrupted++;
36 break; 36 break;
......