mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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);
|
||||
tmp = esmprint("%s:993", server);
|
||||
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/bin/stunnel", "stunnel", "-c", "-r", tmp, nil) < 0){
|
||||
free(tmp);
|
||||
|
|
Loading…
Reference in a new issue