Spelling fixes
* accumulating * acquire * alignment * appropriate * argument * assign * attribute * authenticate * authentication * authenticator * authority * auxiliary * brackets * callback * camellia * can't * cancelability * certificate * choinyambuu * chunk * collector * collision * communicating * compares * compatibility * compressed * confidentiality * configuration * connection * consistency * constraint * construction * constructor * database * decapsulated * declaration * decrypt * derivative * destination * destroyed * details * devised * dynamic * ecapsulation * encoded * encoding * encrypted * enforcing * enumerator * establishment * excluded * exclusively * exited * expecting * expire * extension * filter * firewall * foundation * fulfillment * gateways * hashing * hashtable * heartbeats * identifier * identifiers * identities * identity * implementers * indicating * initialize * initiate * initiation * initiator * inner * instantiate * legitimate * libraries * libstrongswan * logger * malloc * manager * manually * measurement * mechanism * message * network * nonexistent * object * occurrence * optional * outgoing * packages * packets * padding * particular * passphrase * payload * periodically * policies * possible * previously * priority * proposal * protocol * provide * provider * pseudo * pseudonym * public * qualifier * quantum * quintuplets * reached * reading * recommendation to * recommendation * recursive * reestablish * referencing * registered * rekeying * reliable * replacing * representing * represents * request * request * resolver * result * resulting * resynchronization * retriable * revocation * right * rollback * rule * rules * runtime * scenario * scheduled * security * segment * service * setting * signature * specific * specified * speed * started * steffen * strongswan * subjectaltname * supported * threadsafe * traffic * tremendously * treshold * unique * uniqueness * unknown * until * upper * using * validator * verification * version * version * warrior Closes strongswan/strongswan#164.
This commit is contained in:
committed by
Tobias Brunner
parent
baf29263d5
commit
b3ab7a48cc
@@ -71,7 +71,7 @@ typedef struct {
|
||||
/**
|
||||
* Check if the SQLite library is thread safe
|
||||
*/
|
||||
static bool is_threadsave()
|
||||
static bool is_threadsafe()
|
||||
{
|
||||
#if SQLITE_VERSION_NUMBER >= 3005000
|
||||
return sqlite3_threadsafe() > 0;
|
||||
@@ -178,7 +178,7 @@ METHOD(enumerator_t, sqlite_enumerator_destroy, void,
|
||||
sqlite_enumerator_t *this)
|
||||
{
|
||||
sqlite3_finalize(this->stmt);
|
||||
if (!is_threadsave())
|
||||
if (!is_threadsafe())
|
||||
{
|
||||
this->database->mutex->unlock(this->database->mutex);
|
||||
}
|
||||
@@ -254,7 +254,7 @@ METHOD(database_t, query, enumerator_t*,
|
||||
sqlite_enumerator_t *enumerator = NULL;
|
||||
int i;
|
||||
|
||||
if (!is_threadsave())
|
||||
if (!is_threadsafe())
|
||||
{
|
||||
this->mutex->lock(this->mutex);
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
typedef struct sqlite_database_t sqlite_database_t;
|
||||
|
||||
/**
|
||||
* sqlite databse_t implementation.
|
||||
* sqlite database_t implementation.
|
||||
*/
|
||||
struct sqlite_database_t {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user