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
@ -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 New Issue
Block a user