cosmetic: various typo/spelling fixes

Change-Id: Idc4db138d83be0c7c0b0ff6dfbb9f094b21d6fa9
This commit is contained in:
Harald Welte 2022-05-03 15:28:02 +02:00
parent eea631bff0
commit a9bb9a9348
4 changed files with 6 additions and 6 deletions

View File

@ -82,7 +82,7 @@ static void bankd_init(struct bankd *bankd)
asn_debug = 0;
/* intialize members of 'bankd' */
/* initialize members of 'bankd' */
bankd->slotmaps = slotmap_init(bankd);
INIT_LLIST_HEAD(&bankd->workers);
pthread_mutex_init(&bankd->workers_mutex, NULL);

View File

@ -70,7 +70,7 @@ static char **build_script_env(struct bankd_client *bc, const char *cause)
env[i++] = talloc_asprintf(env, "REMSIM_CAUSE=%s", cause);
/* ask frontend to append any frontend-speccific additional environment vars */
/* ask frontend to append any frontend-specific additional environment vars */
rc = frontend_append_script_env(bc, env, i, 256-i-1);
if (rc > 0)
i = rc;

View File

@ -111,7 +111,7 @@ struct msgb *itmsg_alloc(enum itmsg_type type, uint16_t status, const uint8_t *d
void __thread *talloc_asn1_ctx;
struct client_thread {
/* bankd client runningi inside this thread */
/* bankd client running inside this thread */
struct bankd_client *bc;
/* inter-thread osmo-fd; communication with IFD/PCSC thread */
@ -132,7 +132,7 @@ struct client_thread_cfg {
int it_sock_fd;
};
/* enqueue a msgb (containg 'struct itmsg') towards the IFD-handler thread */
/* enqueue a msgb (containing 'struct itmsg') towards the IFD-handler thread */
static void enqueue_to_ifd(struct client_thread *ct, struct msgb *msg)
{
if (!msg)

View File

@ -94,11 +94,11 @@ int server_conn_send_rspro(struct rspro_server_conn *srvc, RsproPDU_t *rspro)
}
enum server_conn_fsm_state {
/* waiting for initial connectiong to remsim-server */
/* waiting for initial connection to remsim-server */
SRVC_ST_INIT,
/* server connection established, waiting for ClientConnectRes */
SRVC_ST_ESTABLISHED,
/* server connection etsablished, ClientConnect succeeded */
/* server connection established, ClientConnect succeeded */
SRVC_ST_CONNECTED,
/* connection lost, we're waiting for a re-establish */
SRVC_ST_REESTABLISH,