Browse Source

cosmetic: various typo/spelling fixes

Change-Id: Idc4db138d83be0c7c0b0ff6dfbb9f094b21d6fa9
changes/22/28022/4
Harald Welte 3 months ago
parent
commit
a9bb9a9348
  1. 2
      src/bankd/bankd_main.c
  2. 2
      src/client/main_fsm.c
  3. 4
      src/client/user_ifdhandler.c
  4. 4
      src/rspro_client_fsm.c

2
src/bankd/bankd_main.c

@ -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);

2
src/client/main_fsm.c

@ -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;

4
src/client/user_ifdhandler.c

@ -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)

4
src/rspro_client_fsm.c

@ -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,

Loading…
Cancel
Save