fix check of valid HTTPS socket
This commit is contained in:
parent
e7d99e6b65
commit
510a6e9630
|
@ -2,7 +2,7 @@
|
|||
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
||||
* MiniUPnP project
|
||||
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
|
||||
* (c) 2006-2018 Thomas Bernard
|
||||
* (c) 2006-2019 Thomas Bernard
|
||||
* This software is subject to the conditions detailed
|
||||
* in the LICENCE file provided within the distribution */
|
||||
|
||||
|
@ -2068,7 +2068,7 @@ main(int argc, char * * argv)
|
|||
#else /* ENABLE_IPV6 */
|
||||
shttpsl = OpenAndConfHTTPSocket(&listen_port);
|
||||
#endif /* ENABLE_IPV6 */
|
||||
if(shttpl < 0)
|
||||
if(shttpsl < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "Failed to open socket for HTTPS. EXITING");
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue