mailfs: try to use the right version of stunnel
R=rsc http://codereview.appspot.com/4876044
This commit is contained in:
parent
974b0ed330
commit
dcdc3af143
1 changed files with 2 additions and 0 deletions
|
|
@ -756,6 +756,8 @@ imapdial(char *server, int mode)
|
||||||
fd[2] = dup(2, -1);
|
fd[2] = dup(2, -1);
|
||||||
tmp = esmprint("%s:993", server);
|
tmp = esmprint("%s:993", server);
|
||||||
if(threadspawnl(fd, "tlsclient", "tlsclient", tmp, nil) < 0
|
if(threadspawnl(fd, "tlsclient", "tlsclient", tmp, nil) < 0
|
||||||
|
&& threadspawnl(fd, "/usr/sbin/stunnel3", "stunnel3", "-c", "-r", tmp, nil) < 0
|
||||||
|
&& threadspawnl(fd, "/usr/bin/stunnel3", "stunnel3", "-c", "-r", tmp, nil) < 0
|
||||||
&& threadspawnl(fd, "/usr/sbin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0
|
&& threadspawnl(fd, "/usr/sbin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0
|
||||||
&& threadspawnl(fd, "/usr/bin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0){
|
&& threadspawnl(fd, "/usr/bin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0){
|
||||||
free(tmp);
|
free(tmp);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue