cosmetic: various typo/spelling fixes
Change-Id: Idc4db138d83be0c7c0b0ff6dfbb9f094b21d6fa9
This commit is contained in:
parent
eea631bff0
commit
a9bb9a9348
|
@ -82,7 +82,7 @@ static void bankd_init(struct bankd *bankd)
|
||||||
|
|
||||||
asn_debug = 0;
|
asn_debug = 0;
|
||||||
|
|
||||||
/* intialize members of 'bankd' */
|
/* initialize members of 'bankd' */
|
||||||
bankd->slotmaps = slotmap_init(bankd);
|
bankd->slotmaps = slotmap_init(bankd);
|
||||||
INIT_LLIST_HEAD(&bankd->workers);
|
INIT_LLIST_HEAD(&bankd->workers);
|
||||||
pthread_mutex_init(&bankd->workers_mutex, NULL);
|
pthread_mutex_init(&bankd->workers_mutex, NULL);
|
||||||
|
|
|
@ -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);
|
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);
|
rc = frontend_append_script_env(bc, env, i, 256-i-1);
|
||||||
if (rc > 0)
|
if (rc > 0)
|
||||||
i = rc;
|
i = rc;
|
||||||
|
|
|
@ -111,7 +111,7 @@ struct msgb *itmsg_alloc(enum itmsg_type type, uint16_t status, const uint8_t *d
|
||||||
void __thread *talloc_asn1_ctx;
|
void __thread *talloc_asn1_ctx;
|
||||||
|
|
||||||
struct client_thread {
|
struct client_thread {
|
||||||
/* bankd client runningi inside this thread */
|
/* bankd client running inside this thread */
|
||||||
struct bankd_client *bc;
|
struct bankd_client *bc;
|
||||||
|
|
||||||
/* inter-thread osmo-fd; communication with IFD/PCSC thread */
|
/* inter-thread osmo-fd; communication with IFD/PCSC thread */
|
||||||
|
@ -132,7 +132,7 @@ struct client_thread_cfg {
|
||||||
int it_sock_fd;
|
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)
|
static void enqueue_to_ifd(struct client_thread *ct, struct msgb *msg)
|
||||||
{
|
{
|
||||||
if (!msg)
|
if (!msg)
|
||||||
|
|
|
@ -94,11 +94,11 @@ int server_conn_send_rspro(struct rspro_server_conn *srvc, RsproPDU_t *rspro)
|
||||||
}
|
}
|
||||||
|
|
||||||
enum server_conn_fsm_state {
|
enum server_conn_fsm_state {
|
||||||
/* waiting for initial connectiong to remsim-server */
|
/* waiting for initial connection to remsim-server */
|
||||||
SRVC_ST_INIT,
|
SRVC_ST_INIT,
|
||||||
/* server connection established, waiting for ClientConnectRes */
|
/* server connection established, waiting for ClientConnectRes */
|
||||||
SRVC_ST_ESTABLISHED,
|
SRVC_ST_ESTABLISHED,
|
||||||
/* server connection etsablished, ClientConnect succeeded */
|
/* server connection established, ClientConnect succeeded */
|
||||||
SRVC_ST_CONNECTED,
|
SRVC_ST_CONNECTED,
|
||||||
/* connection lost, we're waiting for a re-establish */
|
/* connection lost, we're waiting for a re-establish */
|
||||||
SRVC_ST_REESTABLISH,
|
SRVC_ST_REESTABLISH,
|
||||||
|
|
Loading…
Reference in New Issue