EgtLock :
- corretto controlli su recupero opzioni da licenza.
This commit is contained in:
+11
-4
@@ -1,13 +1,14 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2014-2016
|
||||
//----------------------------------------------------------------------------
|
||||
// File : KeyProc.cpp Data : 29.02.16 Versione : 1.6n9
|
||||
// File : KeyProc.cpp Data : 12.07.16 Versione : 1.6s3
|
||||
// Contenuto : Funzioni per la gestione della chiave.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 10.09.14 DS Creazione modulo.
|
||||
// 29.02.16 DS Controllo prodotti con & (and bit a bit).
|
||||
// 12.07.16 DS In recupero opzioni, se chiave ko azzero risultati.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -171,9 +172,15 @@ GetKeyOptions( const string& sKey, int nProd, int nVer, int nLev,
|
||||
unsigned int& nKOpt1, unsigned int& nKOpt2, int& nKOptExpDays)
|
||||
{
|
||||
int nKProd, nKVer, nKLev, nKExpDays ;
|
||||
return VerifyKey( sKey, nProd, nVer, nLev,
|
||||
nKProd, nKVer, nKLev, nKExpDays,
|
||||
nKOpt1, nKOpt2, nKOptExpDays) ;
|
||||
int nErr = VerifyKey( sKey, nProd, nVer, nLev,
|
||||
nKProd, nKVer, nKLev, nKExpDays,
|
||||
nKOpt1, nKOpt2, nKOptExpDays) ;
|
||||
if ( nErr != KEY_OK) {
|
||||
nKOpt1 = 0 ;
|
||||
nKOpt2 = 0 ;
|
||||
nKOptExpDays = 0 ;
|
||||
}
|
||||
return nErr ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user