summaryrefslogtreecommitdiff
path: root/alpine/pine-use.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-01-07 21:02:55 -0700
committerEduardo Chappa <chappa@washington.edu>2015-01-07 21:02:55 -0700
commit2ea73d14866f5eb39bc6a9aab36312abd6fa525c (patch)
tree4d934a855d58219abc5813b5519d8100812dd99d /alpine/pine-use.c
parent20d433c77e32dc05c2accf8ab943c2a7d9738239 (diff)
downloadalpine-2ea73d14866f5eb39bc6a9aab36312abd6fa525c.tar.xz
* new version 2.19.9999
* crash on importing certificates that do not have an email address associated to them, such as those of a Certificate Authority. * Disable saving new passwords to the password file. Implemented by Louis Raphael from dpslabs.com. * Panda IMAP does not decode correctly Korean text encoded in UTF-8. Reported by Chulho Yang.
Diffstat (limited to 'alpine/pine-use.c')
-rw-r--r--alpine/pine-use.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/pine-use.c b/alpine/pine-use.c
index 90609318..7337b7c7 100644
--- a/alpine/pine-use.c
+++ b/alpine/pine-use.c
@@ -73,7 +73,7 @@ main(argc, argv)
printf("%5d users processed so far\n", so_far);
}
- if(strncmp(pw->pw_dir, "/", 1) == 0)
+ if(pw->pw_dir && *pw->pw_dir == '/' && pw->pw_dir[1] == '\0')
continue;
snprintf(filename, sizeof(filename), "%s/.pinerc", pw->pw_dir);