From: Ralph Corderoy Date: Thu, 7 Sep 2017 08:57:11 +0000 (+0100) Subject: smtp.c: Use read-end of pipe, not random integer. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/8c2d4ff84c4db1eb59d3a3fb007803f82c4906b9?ds=inline;hp=8c2d4ff84c4db1eb59d3a3fb007803f82c4906b9 smtp.c: Use read-end of pipe, not random integer. Instead of `pdi[0]' the array of two elements was being indexed by `i'. That is typically zero so everything works, but can be up to five depending how many times fork(2) failed before succeeding. Fixes e65127948. ---