nb: Fix the check in loolnb.
Change-Id: I54f23cb5fb76e4f9aab2743ddc2e6cda04a2656b
This commit is contained in:
parent
a68c33477d
commit
67293c8183
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ public:
|
|||
};
|
||||
|
||||
// Start the server.
|
||||
if (args.back() == "ssl")
|
||||
if (!args.empty() && args.back() == "ssl")
|
||||
server(addrSsl, poller, std::unique_ptr<SocketFactory>{new SslSocketFactory});
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue