Browse Source

TT#71950 Fix typos

s/arbitary/arbitrary/
s/Arbitary/Arbitrary/
s/possiblity/possibility/
s/stuct/struct/
s/unspported/unsupported/

Change-Id: Id41deb4decf663816992420701db8df12c3caed1
pull/1640/head
Michael Prokop 3 years ago
parent
commit
710e676524
6 changed files with 12 additions and 12 deletions
  1. +2
    -2
      daemon/call_interfaces.c
  2. +5
    -5
      daemon/sdp.c
  3. +1
    -1
      docs/ng_control_protocol.md
  4. +2
    -2
      include/call.h
  5. +1
    -1
      include/sdp.h
  6. +1
    -1
      t/auto-daemon-tests.pl

+ 2
- 2
daemon/call_interfaces.c View File

@ -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;
}


+ 5
- 5
daemon/sdp.c View File

@ -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);


+ 1
- 1
docs/ng_control_protocol.md View File

@ -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


+ 2
- 2
include/call.h View File

@ -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.


+ 1
- 1
include/sdp.h View File

@ -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 {


+ 1
- 1
t/auto-daemon-tests.pl View File

@ -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;


Loading…
Cancel
Save