From bd497411f2e8e9ee6bd7e47d838add607019e761 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 1 Mar 2023 13:31:12 +0100 Subject: [PATCH] rtpengine: spell fixes in the comments --- src/modules/rtpengine/bencode.h | 2 +- src/modules/rtpengine/rtpengine.c | 4 ++-- src/modules/rtpengine/rtpengine_funcs.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/rtpengine/bencode.h b/src/modules/rtpengine/bencode.h index f2efb742cc8..df7fa8be66b 100644 --- a/src/modules/rtpengine/bencode.h +++ b/src/modules/rtpengine/bencode.h @@ -220,7 +220,7 @@ struct iovec *bencode_iovec(bencode_item_t *root, int *cnt, unsigned int head, u /* Similar to bencode_iovec(), but instead returns the encoded document as a null-terminated string. * Memory for the string is allocated from the same bencode_buffer_t object as the "root" object - * was allocated from. If "len" is a non-NULL pointer, the length of the genrated string is returned + * was allocated from. If "len" is a non-NULL pointer, the length of the generated string is returned * in *len. This is important if the encoded document contains binary data, in which case null * termination cannot be trusted. The returned string is freed when the corresponding * bencode_buffer_t object is destroyed. */ diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c index 46640a5d3da..d0199ec04f1 100644 --- a/src/modules/rtpengine/rtpengine.c +++ b/src/modules/rtpengine/rtpengine.c @@ -1147,8 +1147,8 @@ int add_rtpengine_socks(struct rtpp_set *rtpp_list, char *rtpengine, } -/* 0 - succes - * -1 - erorr +/* 0 - success + * -1 - error * */ static int rtpengine_add_rtpengine_set(char * rtp_proxies, unsigned int weight, int disabled, unsigned int ticks) { diff --git a/src/modules/rtpengine/rtpengine_funcs.c b/src/modules/rtpengine/rtpengine_funcs.c index 598af6360e7..4863ec662cd 100644 --- a/src/modules/rtpengine/rtpengine_funcs.c +++ b/src/modules/rtpengine/rtpengine_funcs.c @@ -178,8 +178,8 @@ int extract_body(struct sip_msg *msg, str *body ) /* * Better use the content-len value - no need of any explicit - * parcing as get_body() parsed all headers and Conten-Length - * body header is automaticaly parsed when found. + * parsing as get_body() parsed all headers and Content-Length + * body header is automatically parsed when found. */ if (msg->content_length==0) { LM_ERR("failed to get the content length in message\n");