Skip to content

Commit 42a9d82

Browse files
committed
Fix: Typo
1 parent fa77fd5 commit 42a9d82

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

src/admin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ static void command_manageauth(client_t *client, source_t *source, admin_format_
10061006

10071007
/* check if we found one */
10081008
if (auth == NULL) {
1009-
ICECAST_LOG_WARN("Client requested mangement for unknown role %lu", id);
1009+
ICECAST_LOG_WARN("Client requested management for unknown role %lu", id);
10101010
error_id = ICECAST_ERROR_ADMIN_ROLEMGN_ROLE_NOT_FOUND;
10111011
break;
10121012
}

src/buffer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int buffer_push_data(buffer_t *buffer, const void *data, size_t length);
133133
*/
134134
int buffer_push_string(buffer_t *buffer, const char *string);
135135

136-
/* This pushes a formated string to the end of the buffer.
136+
/* This pushes a formatted string to the end of the buffer.
137137
* Parameters:
138138
* buffer
139139
* The buffer to operate on.
@@ -144,7 +144,7 @@ int buffer_push_string(buffer_t *buffer, const char *string);
144144
*/
145145
int buffer_push_printf(buffer_t *buffer, const char *format, ...);
146146

147-
/* This pushes a formated string to the end of the buffer using a va_list.
147+
/* This pushes a formatted string to the end of the buffer using a va_list.
148148
* Parameters:
149149
* buffer
150150
* The buffer to operate on.

src/client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ void client_destroy(client_t *client)
301301
return;
302302
}
303303

304-
ICECAST_LOG_DEBUG("Called to destory client %p on connection %p (connection ID: %llu, sock=%R)", client, client->con, (long long unsigned int)client->con->id, client->con->sock);
304+
ICECAST_LOG_DEBUG("Called to destroy client %p on connection %p (connection ID: %llu, sock=%R)", client, client->con, (long long unsigned int)client->con->id, client->con->sock);
305305

306306
fastevent_emit(FASTEVENT_TYPE_CLIENT_DESTROY, FASTEVENT_FLAG_MODIFICATION_ALLOWED, FASTEVENT_DATATYPE_CLIENT, client);
307307

src/listensocket.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ static int listensocket_apply_config__unlocked(listensocket_t *self
634634
thread_rwlock_wlock(&self->listener_rwlock);
635635
if (self->listener_update) {
636636
if (__listener_cmp(self->listener, self->listener_update) != 1) {
637-
ICECAST_LOG_ERROR("Tried to apply incomplete configuration to listensocket: bind address missmatch: have %s:%i, got %s:%i",
637+
ICECAST_LOG_ERROR("Tried to apply incomplete configuration to listensocket: bind address mismatch: have %s:%i, got %s:%i",
638638
__string_default(self->listener->bind_address, "<ANY>"),
639639
self->listener->port,
640640
__string_default(self->listener_update->bind_address, "<ANY>"),

src/reportxml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ reportxml_node_t * reportxml_database_build_fragment(reportxml_database_t *
14561456
return ret;
14571457
} else if (got == type) {
14581458
refobject_unref(definition);
1459-
ICECAST_LOG_ERROR("Definition lists multiple childs of target type. BAD.");
1459+
ICECAST_LOG_ERROR("Definition lists multiple children of target type. BAD.");
14601460
return NULL;
14611461
}
14621462

src/slave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t
366366
if (client_create (&client, con, parser) < 0)
367367
{
368368
global_unlock ();
369-
/* make sure only the client_destory frees these */
369+
/* make sure only the client_destroy frees these */
370370
con = NULL;
371371
parser = NULL;
372372
client_destroy (client);

src/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ static inline int __parse_q(const char *str)
914914
} else if (*str == '.') {
915915
mul = 100;
916916
} else {
917-
ICECAST_LOG_ERROR("Badly formated quality parameter found.");
917+
ICECAST_LOG_ERROR("Badly formatted quality parameter found.");
918918
return -1;
919919
}
920920
}

0 commit comments

Comments
 (0)