dma: properly log last remote status message
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 9 Jul 2009 12:37:15 +0000 (14:37 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 16 Jul 2009 14:13:03 +0000 (16:13 +0200)
commita5a8a1a4d14ccdda5b1ea7b707b435fb8591a48c
tree8e549f670766858a360ed6e4e3b581fbd4363ae0
parent144b337d5fb21324286871fbca0c90d460e06d9d
dma: properly log last remote status message

Store the last error or status message received from the remote server in
the neterr[] buffer and display it instead of the meaningless %m in
remote delivery syslog messages.

Submitted-by: Peter Pentchev <roam@ringlet.net>
libexec/dma/crypto.c
libexec/dma/dma.h
libexec/dma/net.c