mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 04:23:13 +02:00
Fix possible crash in /STATS due to change from yesterday.
Other than that, some minor style and real things.
This commit is contained in:
@@ -331,7 +331,7 @@ skip_host_check:
|
||||
/* Verify the SSL certificate (if requested) */
|
||||
if (link->verify_certificate)
|
||||
{
|
||||
char *errstr;
|
||||
char *errstr = NULL;
|
||||
|
||||
if (!IsSSL(cptr))
|
||||
{
|
||||
|
||||
@@ -1224,7 +1224,7 @@ int stats_set(aClient *sptr, char *para)
|
||||
sptr->name, SafePrint(iConf.ssl_options->key_file));
|
||||
sendto_one(sptr, ":%s %i %s :ssl::trusted-ca-file: %s", me.name, RPL_TEXT,
|
||||
sptr->name, SafePrint(iConf.ssl_options->trusted_ca_file));
|
||||
sendto_one(sptr, ":%s %i %s :ssl::options: %s %s", me.name, RPL_TEXT, sptr->name,
|
||||
sendto_one(sptr, ":%s %i %s :ssl::options: %s", me.name, RPL_TEXT, sptr->name,
|
||||
iConf.ssl_options->options & SSLFLAG_FAILIFNOCERT ? "FAILIFNOCERT" : "");
|
||||
sendto_one(sptr, ":%s %i %s :options::show-opermotd: %d", me.name, RPL_TEXT,
|
||||
sptr->name, SHOWOPERMOTD);
|
||||
|
||||
Reference in New Issue
Block a user