Fix various spelling issues reported by codespell

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
This commit is contained in:
Jakub Jelen
2022-10-12 10:45:00 +02:00
parent 22f0f0dd60
commit 97c9ac2f58
59 changed files with 117 additions and 112 deletions

View File

@@ -110,7 +110,7 @@ int auth_pubkey_cb(UNUSED_PARAM(ssh_session session),
}
/* TODO */
/* Check wheter the user and public key are in authorized keys list */
/* Check whether the user and public key are in authorized keys list */
/* Authenticated */
printf("Authenticated\n");

View File

@@ -97,8 +97,8 @@ static void cleanup_pcap(struct session_data_st *sdata)
}
/* Do not free the pcap data context here since its ownership was
* transfered to the session object, which will take care of its cleanup.
* Morover it is still in use so we can very simply crash by freeing
* transferred to the session object, which will take care of its cleanup.
* Moreover it is still in use so we can very simply crash by freeing
* it here.
*/
sdata->pcap = NULL;
@@ -161,7 +161,7 @@ static int authenticate_kbdint(ssh_session session,
initial_prompt[0] = "username: ";
initial_prompt[1] = "password: ";
/* Prompt for aditional prompts */
/* Prompt for additional prompts */
retype_prompt[0] = "retype password: ";
if ((session == NULL) || (message == NULL) || (sdata == NULL)) {