unify text - step 1

This commit is contained in:
iceman1001 2025-03-25 10:12:16 +01:00
commit 875b3c44b4
40 changed files with 167 additions and 128 deletions

View file

@ -738,7 +738,7 @@ int main(int argc, const char *argv[]) {
printf("Testing default keys using NESTED authentication...\n");
struct thread_key_args *def = calloc(1, sizeof(struct thread_key_args));
if (def == NULL) {
fprintf(stderr, "Memory allocation failed\n");
fprintf(stderr, "Failed to allocate memory\n");
exit(EXIT_FAILURE);
}
def->thread = 0;
@ -763,7 +763,7 @@ int main(int argc, const char *argv[]) {
for (int i = 0; i < thread_count; ++i) {
struct thread_args *a = calloc(1, sizeof(struct thread_args));
if (a == NULL) {
fprintf(stderr, "Memory allocation failed\n");
fprintf(stderr, "Failed to allocate memory\n");
exit(EXIT_FAILURE);
}
a->xored = xored;
@ -789,7 +789,7 @@ int main(int argc, const char *argv[]) {
for (int i = 0; i < thread_count; ++i) {
struct thread_args *a = calloc(1, sizeof(struct thread_args));
if (a == NULL) {
fprintf(stderr, "Memory allocation failed\n");
fprintf(stderr, "Failed to allocate memory\n");
exit(EXIT_FAILURE);
}
a->xored = xored;
@ -836,7 +836,7 @@ int main(int argc, const char *argv[]) {
for (int i = 0; i < thread_count; ++i) {
struct thread_key_args *b = calloc(1, sizeof(struct thread_key_args));
if (b == NULL) {
fprintf(stderr, "Memory allocation failed\n");
fprintf(stderr, "Failed to allocaet memory\n");
exit(EXIT_FAILURE);
}
b->thread = i;

View file

@ -291,7 +291,7 @@ int main(int argc, const char *argv[]) {
for (int i = 0; i < thread_count; ++i) {
struct thread_args *a = calloc(1, sizeof(struct thread_args));
if (a == NULL) {
fprintf(stderr, "Failed to allocate memory for thread arguments\n");
fprintf(stderr, "Failed to allocate memory\n");
exit(EXIT_FAILURE);
}
a->thread = i;