1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00

Fix: Typo

This commit is contained in:
Philipp Schafft 2022-03-12 10:04:19 +00:00
parent fa77fd5c2a
commit 42a9d82926
7 changed files with 8 additions and 8 deletions

View File

@ -1006,7 +1006,7 @@ static void command_manageauth(client_t *client, source_t *source, admin_format_
/* check if we found one */ /* check if we found one */
if (auth == NULL) { if (auth == NULL) {
ICECAST_LOG_WARN("Client requested mangement for unknown role %lu", id); ICECAST_LOG_WARN("Client requested management for unknown role %lu", id);
error_id = ICECAST_ERROR_ADMIN_ROLEMGN_ROLE_NOT_FOUND; error_id = ICECAST_ERROR_ADMIN_ROLEMGN_ROLE_NOT_FOUND;
break; break;
} }

View File

@ -133,7 +133,7 @@ int buffer_push_data(buffer_t *buffer, const void *data, size_t length);
*/ */
int buffer_push_string(buffer_t *buffer, const char *string); int buffer_push_string(buffer_t *buffer, const char *string);
/* This pushes a formated string to the end of the buffer. /* This pushes a formatted string to the end of the buffer.
* Parameters: * Parameters:
* buffer * buffer
* The buffer to operate on. * The buffer to operate on.
@ -144,7 +144,7 @@ int buffer_push_string(buffer_t *buffer, const char *string);
*/ */
int buffer_push_printf(buffer_t *buffer, const char *format, ...); int buffer_push_printf(buffer_t *buffer, const char *format, ...);
/* This pushes a formated string to the end of the buffer using a va_list. /* This pushes a formatted string to the end of the buffer using a va_list.
* Parameters: * Parameters:
* buffer * buffer
* The buffer to operate on. * The buffer to operate on.

View File

@ -301,7 +301,7 @@ void client_destroy(client_t *client)
return; return;
} }
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); 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);
fastevent_emit(FASTEVENT_TYPE_CLIENT_DESTROY, FASTEVENT_FLAG_MODIFICATION_ALLOWED, FASTEVENT_DATATYPE_CLIENT, client); fastevent_emit(FASTEVENT_TYPE_CLIENT_DESTROY, FASTEVENT_FLAG_MODIFICATION_ALLOWED, FASTEVENT_DATATYPE_CLIENT, client);

View File

@ -634,7 +634,7 @@ static int listensocket_apply_config__unlocked(listensocket_t *self
thread_rwlock_wlock(&self->listener_rwlock); thread_rwlock_wlock(&self->listener_rwlock);
if (self->listener_update) { if (self->listener_update) {
if (__listener_cmp(self->listener, self->listener_update) != 1) { if (__listener_cmp(self->listener, self->listener_update) != 1) {
ICECAST_LOG_ERROR("Tried to apply incomplete configuration to listensocket: bind address missmatch: have %s:%i, got %s:%i", ICECAST_LOG_ERROR("Tried to apply incomplete configuration to listensocket: bind address mismatch: have %s:%i, got %s:%i",
__string_default(self->listener->bind_address, "<ANY>"), __string_default(self->listener->bind_address, "<ANY>"),
self->listener->port, self->listener->port,
__string_default(self->listener_update->bind_address, "<ANY>"), __string_default(self->listener_update->bind_address, "<ANY>"),

View File

@ -1456,7 +1456,7 @@ reportxml_node_t * reportxml_database_build_fragment(reportxml_database_t *
return ret; return ret;
} else if (got == type) { } else if (got == type) {
refobject_unref(definition); refobject_unref(definition);
ICECAST_LOG_ERROR("Definition lists multiple childs of target type. BAD."); ICECAST_LOG_ERROR("Definition lists multiple children of target type. BAD.");
return NULL; return NULL;
} }

View File

@ -366,7 +366,7 @@ static client_t *open_relay_connection (relay_t *relay, relay_config_upstream_t
if (client_create (&client, con, parser) < 0) if (client_create (&client, con, parser) < 0)
{ {
global_unlock (); global_unlock ();
/* make sure only the client_destory frees these */ /* make sure only the client_destroy frees these */
con = NULL; con = NULL;
parser = NULL; parser = NULL;
client_destroy (client); client_destroy (client);

View File

@ -914,7 +914,7 @@ static inline int __parse_q(const char *str)
} else if (*str == '.') { } else if (*str == '.') {
mul = 100; mul = 100;
} else { } else {
ICECAST_LOG_ERROR("Badly formated quality parameter found."); ICECAST_LOG_ERROR("Badly formatted quality parameter found.");
return -1; return -1;
} }
} }