From 710e6765245250d870d62b6b8b9ba6fede46e68f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 10 Mar 2023 19:27:38 +0100 Subject: [PATCH] TT#71950 Fix typos s/arbitary/arbitrary/ s/Arbitary/Arbitrary/ s/possiblity/possibility/ s/stuct/struct/ s/unspported/unsupported/ Change-Id: Id41deb4decf663816992420701db8df12c3caed1 --- daemon/call_interfaces.c | 4 ++-- daemon/sdp.c | 10 +++++----- docs/ng_control_protocol.md | 2 +- include/call.h | 4 ++-- include/sdp.h | 2 +- t/auto-daemon-tests.pl | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/daemon/call_interfaces.c b/daemon/call_interfaces.c index f8f7014c8..646b0f2f7 100644 --- a/daemon/call_interfaces.c +++ b/daemon/call_interfaces.c @@ -706,7 +706,7 @@ INLINE void ng_sdp_attr_manipulations(struct sdp_manipulations_common ** sm_ptr, q_ptr = &(*sm_ptr)->add_commands_video; break; default: - ilog(LOG_WARN, "SDP manipulations: unspported SDP section targeted."); + ilog(LOG_WARN, "SDP manipulations: unsupported SDP section targeted."); continue; } @@ -737,7 +737,7 @@ INLINE void ng_sdp_attr_manipulations(struct sdp_manipulations_common ** sm_ptr, ht = &(*sm_ptr)->rem_commands_video; break; default: - ilog(LOG_WARN, "SDP manipulations: unspported SDP section targeted."); + ilog(LOG_WARN, "SDP manipulations: unsupported SDP section targeted."); continue; } diff --git a/daemon/sdp.c b/daemon/sdp.c index 56fed54a9..175bb67db 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -2916,7 +2916,7 @@ static void append_attr_to_gstring(GString *s, char * name, const str * value, str_init(&attr, name); struct sdp_manipulations_common *sdp_manipulations = flags->sdp_manipulations; - /* take into account SDP arbitary manipulations */ + /* take into account SDP arbitrary manipulations */ if (sdp_manipulate_check(CMD_REM, sdp_manipulations, media_type, &attr)) { ilog(LOG_DEBUG, "Cannot insert: '%s' because prevented by SDP manipulations", name); return; @@ -2942,7 +2942,7 @@ static void append_attr_char_to_gstring(GString *s, char * name, const char * va str_init(&attr, name); struct sdp_manipulations_common *sdp_manipulations = flags->sdp_manipulations; - /* take into account SDP arbitary manipulations */ + /* take into account SDP arbitrary manipulations */ if (sdp_manipulate_check(CMD_REM, sdp_manipulations, media_type, &attr)) { ilog(LOG_DEBUG, "Cannot insert: '%s' because prevented by SDP manipulations", name); return; @@ -2968,7 +2968,7 @@ static void append_attr_int_to_gstring(GString *s, char * name, const int * valu str_init(&attr, name); struct sdp_manipulations_common *sdp_manipulations = flags->sdp_manipulations; - /* take into account SDP arbitary manipulations */ + /* take into account SDP arbitrary manipulations */ if (sdp_manipulate_check(CMD_REM, sdp_manipulations, media_type, &attr)) { ilog(LOG_DEBUG, "Cannot insert: '%s' because prevented by SDP manipulations", name); return; @@ -3271,7 +3271,7 @@ int sdp_replace(struct sdp_chopper *chop, GQueue *sessions, struct call_monologu /* add a list of important attrs to the session section */ print_sdp_session_section(chop->output, flags, call_media); - /* ADD arbitary SDP manipulations for a session sessions */ + /* ADD arbitrary SDP manipulations for a session sessions */ if (sdp_manipulate_check(CMD_ADD, sdp_manipulations, MT_UNKNOWN, NULL)) sdp_manipulations_add(chop, sdp_manipulations, MT_UNKNOWN); @@ -3349,7 +3349,7 @@ int sdp_replace(struct sdp_chopper *chop, GQueue *sessions, struct call_monologu chopper_append_c(chop, "\r\n"); } - /* ADD arbitary SDP manipulations for audio/video media sessions */ + /* ADD arbitrary SDP manipulations for audio/video media sessions */ if (sdp_manipulate_check(CMD_ADD, sdp_manipulations, sdp_media->media_type_id, NULL)) sdp_manipulations_add(chop, sdp_manipulations, sdp_media->media_type_id); diff --git a/docs/ng_control_protocol.md b/docs/ng_control_protocol.md index f8ca8ecab..53910b9da 100644 --- a/docs/ng_control_protocol.md +++ b/docs/ng_control_protocol.md @@ -603,7 +603,7 @@ Optionally included keys are: The list of preferred crypto suites to be selected for the offerer. - It provides a possiblity to select specific crypto suite(s) for the offerer from + It provides a possibility to select specific crypto suite(s) for the offerer from the given list of crypto suites received in the offer. This will be used later on, when processing an answer from diff --git a/include/call.h b/include/call.h index 286ef5802..6ab5408fc 100644 --- a/include/call.h +++ b/include/call.h @@ -591,9 +591,9 @@ struct call_iterator_entry { } while (0) /** - * stuct call is the main parent structure of all call-related objects. + * struct call is the main parent structure of all call-related objects. * - * The logical object hierarchy under the 'stuct call': + * The logical object hierarchy under the 'struct call': * call > call_monologue > call_media > packet_stream > stream_fd * * struct call usually has multiple call_monologue objects. diff --git a/include/sdp.h b/include/sdp.h index 84075866e..731a57a67 100644 --- a/include/sdp.h +++ b/include/sdp.h @@ -19,7 +19,7 @@ struct sdp_substitute_attr { str * value_b; /* to */ }; -/* A structure for SDP arbitary manipulations on all levels of SDP: +/* A structure for SDP arbitrary manipulations on all levels of SDP: * session (global), media (audio/video). Works only on `a=` lines. */ struct sdp_manipulations_common { diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 063a58030..e4e58cb7f 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -15744,7 +15744,7 @@ a=rtcp:PORT a=crypto:3 AES_256_CM_HMAC_SHA1_80 inline:CRYPTO256 SDP -# Arbitary SDP manipulations +# Arbitrary SDP manipulations new_call;