From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-mta/ssmtp/files: ssmtp-2.62-authpass.patch |
Date: | Sat, 29 Nov 2008 20:27:54 |
Message-Id: | E1L6WPv-0001ET-VP@stork.gentoo.org |
1 | dertobi123 08/11/29 20:27:51 |
2 | |
3 | Added: ssmtp-2.62-authpass.patch |
4 | Log: |
5 | Revision bump, comment rewriteDomain (#243364), re-add mailbase dep (#249269), fix AuthPass with '=' or ':' in it (#238724), setgid on ssmtp binary (#239197) |
6 | (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 mail-mta/ssmtp/files/ssmtp-2.62-authpass.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/files/ssmtp-2.62-authpass.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-mta/ssmtp/files/ssmtp-2.62-authpass.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: ssmtp-2.62-authpass.patch |
15 | =================================================================== |
16 | --- ssmtp.c 2008-09-26 02:13:48.000000000 -0600 |
17 | +++ ssmtp.c.new 2008-09-26 02:15:41.000000000 -0600 |
18 | @@ -1056,7 +1042,8 @@ |
19 | } |
20 | } |
21 | else if(strcasecmp(p, "AuthPass") == 0 && !auth_pass) { |
22 | - if((auth_pass = strdup(q)) == (char *)NULL) { |
23 | + auth_pass = firsttok(&rightside, " \n\t"); |
24 | + if(auth_pass == (char *)NULL) { |
25 | die("parse_config() -- strdup() failed"); |
26 | } |