diff options
author | D. Can Celasun | 2019-03-13 09:54:45 +0100 |
---|---|---|
committer | D. Can Celasun | 2019-03-13 09:54:56 +0100 |
commit | 39751980b844e8d3836304e2c7655fba07a78c44 (patch) | |
tree | 0d0a4acae720d555f5caf83c949c261230b6c874 /authpass.patch | |
download | aur-39751980b844e8d3836304e2c7655fba07a78c44.tar.gz |
[New package] ssmtp 2.64-10
Resurrected the package that was deleted from [extra] and added patches from Fedora.
Diffstat (limited to 'authpass.patch')
-rw-r--r-- | authpass.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/authpass.patch b/authpass.patch new file mode 100644 index 000000000000..fbff8959c909 --- /dev/null +++ b/authpass.patch @@ -0,0 +1,14 @@ +diff -up ssmtp-2.61/ssmtp.c.orig ssmtp-2.61/ssmtp.c +--- ssmtp-2.61/ssmtp.c.orig 2008-11-26 17:27:29.000000000 +0200 ++++ ssmtp-2.61/ssmtp.c 2008-11-26 17:25:36.000000000 +0200 +@@ -1051,7 +1051,8 @@ bool_t read_config() + } + } + else if(strcasecmp(p, "AuthPass") == 0 && !auth_pass) { +- if((auth_pass = strdup(q)) == (char *)NULL) { ++ auth_pass = firsttok(&rightside, " \n\t"); ++ if(auth_pass == (char *)NULL) { + die("parse_config() -- strdup() failed"); + } + + |