]> diplodocus.org Git - nmh/commit
Only call fork(2) once, not up to five times on failure.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 9 Sep 2017 10:32:01 +0000 (11:32 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 9 Sep 2017 10:32:01 +0000 (11:32 +0100)
commite107c0d8298ccd64484270e4f2f76c1514c90313
tree48baba5c3076f461c9dc03341c53cf18c82a8ba2
parent5977791e005446f4cd8b2f04bfb14c8cd265df8a
Only call fork(2) once, not up to five times on failure.

The existing loop that slept five seconds between each attempt was
copy-pasted widely.  Those days are gone.  Just call it once.
12 files changed:
mts/smtp/smtp.c
sbr/push.c
uip/forw.c
uip/mhbuildsbr.c
uip/mhparse.c
uip/mhshowsbr.c
uip/post.c
uip/rcvdist.c
uip/sendsbr.c
uip/slocal.c
uip/whatnowsbr.c
uip/whom.c