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>
Fri, 17 Jul 2009 10:45:38 +0000 (12:45 +0200)
commit773501ce29a7339088d762e4361f005ec6858c04
tree7adfaef08d9bcec54cf7b21e3a92daaf3fbdffc6
parent7bf034e127c8ec0b67f4aede6b375215c15a33a0
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.
libexec/dma/net.c