run-command: introduce CHILD_PROCESS_INIT
[gitweb.git] / imap-send.c
index 524fbabc96f450f1faed196c1743d2f8d697b587..d8fb10f660575ce8d40b4312927b8aa65feec219 100644 (file)
@@ -962,7 +962,7 @@ static struct imap_store *imap_open_store(struct imap_server_conf *srvc)
 
        if (srvc->tunnel) {
                const char *argv[] = { srvc->tunnel, NULL };
-               struct child_process tunnel = {NULL};
+               struct child_process tunnel = CHILD_PROCESS_INIT;
 
                imap_info("Starting tunnel '%s'... ", srvc->tunnel);