]> arthur.barton.de Git - ngircd-alex.git/commit
ngircd: use setgid/setuid errno value in error path
authorFlorian Westphal <fw@strlen.de>
Sat, 31 Aug 2013 20:42:56 +0000 (22:42 +0200)
committerFlorian Westphal <fw@strlen.de>
Sat, 31 Aug 2013 20:42:56 +0000 (22:42 +0200)
commitf8f8a9a04146fb7a4e1570ce0474ea86806879ed
treee9594c95dbb4537ede27fb6e9a5f5f7eccff3566
parent04b947cdc3ad1f3370aae2ba2e7308587bea0dda
ngircd: use setgid/setuid errno value in error path

Need to use saved errno value as strerror argument, else you
get bogus output ('success') in the log message.
src/ngircd/ngircd.c