]> git.ipfire.org Git - people/ms/dma.git/commit - net.c
dma: correctly initialize error before delivering mail
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 16 Jul 2009 09:54:44 +0000 (11:54 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 16 Jul 2009 14:13:07 +0000 (16:13 +0200)
commit3a7b3ec9a6a98dbb1b4b9871e1199fe4b6cf6a52
tree609f61dca80cc9105fe833583441f4de57d204f7
parent791d1a91f147603f065751c005d98daa401837d9
dma: correctly initialize error before delivering mail

error is used to return failure or success from deliver_remote().  However
error is also used before, so we have to make sure that it is initialized
to 0, else a previous (non-fatal) error could pull through, even if the
delivery was successful.
net.c