From c64ecad0ee25cb739d236da0e29a988cd88bae94 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 16 Oct 2010 15:21:19 +0000 Subject: applied further patches for #996 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5075 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/dcc/libkvidcc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/dcc/libkvidcc.cpp') diff --git a/src/modules/dcc/libkvidcc.cpp b/src/modules/dcc/libkvidcc.cpp index 7f0b94220..9fec7efd6 100644 --- a/src/modules/dcc/libkvidcc.cpp +++ b/src/modules/dcc/libkvidcc.cpp @@ -2713,7 +2713,7 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) The second parameter can be "local" or "remote", and refers to the certificate you want to query the information from; if omitted, it defaults to "remote".[br] If is omitted then the DCC Session associated to the current window is assumed.[br] - If is not a valid DCC session identifier (or it is omitted and the current window + If is not a valid DCC session identifier (or it is omitted and the current window has no associated DCC session) then this function prints a warning and returns an empty sting.[br] If the DCC session is not using ssl then this function returns an empty string.[br] Some queries can accept an optional parameter [br] @@ -2745,7 +2745,7 @@ static bool dcc_kvs_fnc_sessionList(KviKvsModuleFunctionCall * c) [/ul] @examples: [example] - # get a sha256 fingerprint of remote peer's certificate + # get a sha256 fingerprint of remote peer's certificate $dcc.getSSLCertInfo(fingerprintContents,remote,$dcc.session,sha256) [/example] @seealso: @@ -2810,7 +2810,7 @@ static bool dcc_kvs_fnc_getSSLCertInfo(KviKvsModuleFunctionCall * c) c->returnValue()->setString(""); return true; } - + KviSSL * pSSL = pSlaveThread->getSSL(); if(!pSSL) { -- cgit v1.3.1-10-gc9f91