Fixed some typos, courtesy of codespell

This commit is contained in:
Tobias Brunner
2017-11-15 10:21:13 +01:00
parent c87b16d256
commit 527b3f0ca5
15 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ NetworkManager-strongswan-1.3.1
-------------------------------
- Add PSK support
- Updated german translations
- Updated German translations
NetworkManager-strongswan-1.3.0
-------------------------------
@@ -44,7 +44,7 @@ NetworkManager-strongswan-1.1.2
- Additionally look for libnm-glib[-vpn] pkgconfig packages during configure
- Tooltips are translatable
- Update german translations
- Update German translations
NetworkManager-strongswan-1.1.1
-------------------------------
+1 -1
View File
@@ -82,7 +82,7 @@ struct proposal_t {
uint16_t alg, uint16_t key_size);
/**
* Get an enumerator over algorithms for a specifc algo type.
* Get an enumerator over algorithms for a specific algo type.
*
* @param type kind of algorithm
* @return enumerator over uint16_t alg, uint16_t key_size
@@ -131,7 +131,7 @@ cert_payload_t *cert_payload_create_from_cert(payload_type_t type,
/**
* Creates an IKEv2 certificate payload with hash and URL encoding.
*
* @param hash hash of the DER encoded certificate (get's cloned)
* @param hash hash of the DER encoded certificate (gets cloned)
* @param url URL to the certificate
* @return cert_payload_t object
*/
@@ -441,7 +441,7 @@ eap_payload_t *eap_payload_create_nak(uint8_t identifier, eap_type_t type,
added_any = TRUE;
}
else if (reg_vendor)
{ /* found vendor specifc method, but this is not an expanded Nak */
{ /* found vendor specific method, but this is not an expanded Nak */
found_vendor = TRUE;
}
}
@@ -86,7 +86,7 @@ static encoding_rule_t encodings[] = {
{ RESERVED_BIT, offsetof(private_nonce_payload_t, reserved[6]) },
/* Length of the whole nonce payload*/
{ PAYLOAD_LENGTH, offsetof(private_nonce_payload_t, payload_length) },
/* some nonce bytes, lenth is defined in PAYLOAD_LENGTH */
/* some nonce bytes, length is defined in PAYLOAD_LENGTH */
{ CHUNK_DATA, offsetof(private_nonce_payload_t, nonce) },
};
@@ -107,7 +107,7 @@ transform_substructure_t *transform_substructure_create(payload_type_t type);
*
* @param type PLV2_TRANSFORM_SUBSTRUCTURE or PLV1_TRANSFORM_SUBSTRUCTURE
* @param type_or_number Type (IKEv2) or number (IKEv1) of transform
* @param id transform id specifc for the transform type
* @param id transform id specific for the transform type
* @return transform_substructure_t object
*/
transform_substructure_t *transform_substructure_create_type(payload_type_t type,
+1 -1
View File
@@ -183,7 +183,7 @@ struct kernel_ipsec_query_policy_t {
* Policy information are cached in the interface. This is necessary to do
* reference counting. The Linux kernel does not allow the same policy
* installed twice, but we need this as CHILD_SA exist multiple times
* when rekeying. Thats why we do reference counting of policies.
* when rekeying. That's why we do reference counting of policies.
*/
struct kernel_ipsec_t {
@@ -77,7 +77,7 @@ METHOD(plugin_t, get_name, char*,
}
/**
* Try to instanciate ea_aka_3gpp functions and card/provider backends
* Try to instantiate ea_aka_3gpp functions and card/provider backends
*/
static bool register_functions(private_eap_aka_3gpp_t *this,
plugin_feature_t *feature, bool reg, void *data)
@@ -55,7 +55,7 @@ METHOD(plugin_t, get_name, char*,
}
/**
* Try to instanciate 3gpp2 functions and card/provider backends
* Try to instantiate 3gpp2 functions and card/provider backends
*/
static bool register_functions(private_eap_aka_3gpp2_t *this,
plugin_feature_t *feature, bool reg, void *data)
+1 -1
View File
@@ -1014,7 +1014,7 @@ struct ike_sa_t {
/**
* Rekey the IKE_SA.
*
* Sets up a new IKE_SA, moves all CHILDs to it and deletes this IKE_SA.
* Sets up a new IKE_SA, moves all CHILD_SAs to it and deletes this IKE_SA.
*
* @return - SUCCESS, if IKE_SA rekeying initiated
*/
+1 -1
View File
@@ -131,7 +131,7 @@ struct private_task_manager_t {
array_t *queued_tasks;
/**
* Array of active tasks, initiated by ourselve
* Array of active tasks, initiated by ourselves
*/
array_t *active_tasks;
+1 -1
View File
@@ -136,7 +136,7 @@ typedef struct {
} session_entry_t;
/**
* create a session and instanciate controllers
* create a session and instantiate controllers
*/
static fast_session_t* load_session(private_fast_dispatcher_t *this)
{
+4 -4
View File
@@ -25,11 +25,11 @@
* The application has a global context and a session context. The global
* context is accessed from all sessions simultaneously and therefore
* needs to be threadsave. Often a database wrapper is the global context.
* The session context is instanciated per session. Sessions are managed
* The session context is instantiated per session. Sessions are managed
* automatically through session cookies. The session context is kept alive
* until the session times out. It must implement the context_t interface and
* a #fast_context_constructor_t is needed to create instances. To each session,
* a set of controllers gets instanciated. The controller instances are per
* a set of controllers gets instantiated. The controller instances are per
* session, so you can hold private data for each user.
* Controllers need to implement the controller_t interface and need a
* #fast_controller_constructor_t function to create instances.
@@ -72,7 +72,7 @@ typedef struct fast_dispatcher_t fast_dispatcher_t;
*
* The dispatcher creates a session for each client (using SID cookies). In
* each session, a session context is created using the context constructor.
* Each controller is instanciated in the session using the controller
* Each controller is instantiated in the session using the controller
* constructor added with add_controller.
*/
struct fast_dispatcher_t {
@@ -102,7 +102,7 @@ struct fast_dispatcher_t {
/**
* Start with dispatching.
*
* Instanciate a constant thread pool and start dispatching requests.
* Instantiate a constant thread pool and start dispatching requests.
*
* @param threads number of dispatching threads
*/
+1 -1
View File
@@ -28,7 +28,7 @@
typedef struct fast_session_t fast_session_t;
/**
* Session handling class, instanciated for each user session.
* Session handling class, instantiated for each user session.
*/
struct fast_session_t {
+1 -1
View File
@@ -311,7 +311,7 @@ jQuery.fn = jQuery.prototype = {
for ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {
var option = options[i];
if ( option.selected ) {
// Get the specifc value for the option
// Get the specific value for the option
var val = jQuery.browser.msie && !option.attributes["value"].specified ? option.text : option.value;
// We don't need an array for one selects