]> git.ipfire.org Git - thirdparty/lldpd.git/commit
privsep: copy errno before sending it
authorVincent Bernat <bernat@luffy.cx>
Sun, 1 Jul 2012 08:06:37 +0000 (10:06 +0200)
committerVincent Bernat <bernat@luffy.cx>
Sun, 1 Jul 2012 08:06:37 +0000 (10:06 +0200)
commit5fb6f53b1d9cac52ee58e9dc92ea78aeb44bd24d
treebee610c667ba0bf893f514738bae31012f775d9f
parentf00bebf686b03359ed1df263ca3764c4019a0a3d
privsep: copy errno before sending it

errno may be erased by some other value while sending it. We do a copy
and send the copy instead.
src/priv.c