We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c4ab27 commit f9dc5d6Copy full SHA for f9dc5d6
imap-send.c
@@ -961,17 +961,16 @@ static struct imap_store *imap_open_store(struct imap_server_conf *srvc)
961
/* open connection to IMAP server */
962
963
if (srvc->tunnel) {
964
- const char *argv[] = { srvc->tunnel, NULL };
965
struct child_process tunnel = {NULL};
966
967
imap_info("Starting tunnel '%s'... ", srvc->tunnel);
968
969
- tunnel.argv = argv;
+ argv_array_push(&tunnel.args, srvc->tunnel);
970
tunnel.use_shell = 1;
971
tunnel.in = -1;
972
tunnel.out = -1;
973
if (start_command(&tunnel))
974
- die("cannot start proxy %s", argv[0]);
+ die("cannot start proxy %s", srvc->tunnel);
975
976
imap->buf.sock.fd[0] = tunnel.out;
977
imap->buf.sock.fd[1] = tunnel.in;
0 commit comments