]> git.pld-linux.org Git - packages/msmtp.git/blob - msmtp-home_etc.patch
up to 1.8.14
[packages/msmtp.git] / msmtp-home_etc.patch
1 --- msmtp-1.4.7/src/tools.c.orig        2006-07-04 08:38:27.000000000 +0200
2 +++ msmtp-1.4.7/src/tools.c     2006-08-21 14:46:04.764737250 +0200
3 @@ -269,7 +269,9 @@
4      char *home;
5      struct passwd *pw;
6  
7 -    if ((home = getenv("HOME")))
8 +    home = getenv("HOME_ETC");
9 +    if (home == NULL) home = getenv("HOME");
10 +    if (home != NULL)
11      {
12          home = xstrdup(home);
13      }
This page took 0.033293 seconds and 3 git commands to generate.