Branch: refs/heads/master
Home: https://github.com/ngircd/ngircd
Commit: 7207bef418c655107d3076b20dd797418ad82cd7
https://github.com/ngircd/ngircd/commit/7207bef418c655107d3076b20dd797418ad…
Author: Alexander Barton <alex(a)barton.de>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/ngircd/resolve.c
Log Message:
-----------
Fix Get_Error() usage, take II
This should fix the following compiler warning:
resolve.c:113:1: warning: ‘Get_Error’ defined but not used
[-Wunused-function]
Which can happen, because the logic of commit 543f44bf isn't sufficient:
Get_Error() is only used when neither HAVE_WORKING_GETADDRINFO nor
HAVE_GETNAMEINFO are set ...
Enhances 543f44bf.
Closes #241.
Commit: d9f81ac66942000861d46cd33708585a729b1207
https://github.com/ngircd/ngircd/commit/d9f81ac66942000861d46cd33708585a729…
Author: Alexander Barton <alex(a)barton.de>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/ngircd/irc.c
Log Message:
-----------
Fix compiler warning in Option_String()
When compiling ngIRCd without support for SSL and without support for
ZLIB, gcc outputs the following warning:
irc.c:493:9: warning: variable ‘options’ set but not used
[-Wunused-but-set-variable]
Fix it by providing a dummy function in this case.
Commit: 7ed22d0b22dc1ed624c3931e1cff9e21f4156bd9
https://github.com/ngircd/ngircd/commit/7ed22d0b22dc1ed624c3931e1cff9e21f41…
Author: Alexander Barton <alex(a)barton.de>
Date: 2018-01-29 (Mon, 29 Jan 2018)
Changed paths:
M src/ngircd/resolve.c
Log Message:
-----------
Fix compiler warning in ForwardLookup()
When compiling without "working getaddrinfo()", the "af" parameter of
ForwardLookup() is unused by that function. Mark it as such!
This prevents the following compiler warning:
resolve.c:235:56: warning: unused parameter ‘af’
[-Wunused-parameter]
Compare: https://github.com/ngircd/ngircd/compare/619a3f3ff28e...7ed22d0b22dc