Skip to content

Commit 7e1e9e7

Browse files
a/an typos
1 parent 2a6190f commit 7e1e9e7

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

RELEASE

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Certain static methods from tport.c were exposed to make this possible.
8989

9090
2) Certificate subjects are copied out of the peer certificate before
9191
the first message is sent. The next patch will include code that allows
92-
the stack to reject messages sent to a untrusted peer.
92+
the stack to reject messages sent to an untrusted peer.
9393

9494
3) The tport module can now report whether a secondary has a verified
9595
certificate chain and the subjects of the peer certificate.

libsofia-sip-ua-glib/su-glib/su_source.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ GSource *su_source_gsource(su_port_t *self)
538538
/** @internal
539539
*
540540
* Register a @c su_wait_t object. The wait object, a callback function and
541-
* a argument pointer is stored in the port object. The callback function
541+
* an argument pointer is stored in the port object. The callback function
542542
* will be called when the wait object is signaled.
543543
*
544544
* Please note if identical wait objects are inserted, only first one is
@@ -673,7 +673,7 @@ int su_source_register(su_port_t *self,
673673
/** Unregister a su_wait_t object.
674674
*
675675
* The function su_source_unregister() unregisters a su_wait_t object. The
676-
* wait object, a callback function and a argument are removed from the
676+
* wait object, a callback function and an argument are removed from the
677677
* port object.
678678
*
679679
* @param self - pointer to port object
@@ -754,7 +754,7 @@ int su_source_unregister(su_port_t *self,
754754
/** Deregister a su_wait_t object.
755755
*
756756
* The function su_source_deregister() deregisters a su_wait_t registrattion.
757-
* The wait object, a callback function and a argument are removed from the
757+
* The wait object, a callback function and an argument are removed from the
758758
* port object.
759759
*
760760
* @param self - pointer to port object

libsofia-sip-ua/bnf/bnf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ int host_is_ip6_reference(char const *string)
738738

739739
/** Return true if @a string is valid IP address.
740740
*
741-
* Valid IP address is either a IP4 adddress in quad-octet notation,
741+
* Valid IP address is either an IP4 adddress in quad-octet notation,
742742
* IP6 hex address or IP6 reference in square brackets ([]).
743743
*/
744744
int host_is_ip_address(char const *string)

libsofia-sip-ua/bnf/sofia-sip/bnf.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ su_inline isize_t span_token_lws(char const *s)
196196
return e - s;
197197
}
198198

199-
/** Calculate span of a token characters. */
199+
/** Calculate span of token characters. */
200200
su_inline isize_t span_token(char const *s)
201201
{
202202
char const *e = s;
@@ -205,7 +205,7 @@ su_inline isize_t span_token(char const *s)
205205
return e - s;
206206
}
207207

208-
/** Calculate span of a alphabetic characters. */
208+
/** Calculate span of alphabetic characters. */
209209
su_inline isize_t span_alpha(char const *s)
210210
{
211211
char const *e = s;
@@ -214,7 +214,7 @@ su_inline isize_t span_alpha(char const *s)
214214
return e - s;
215215
}
216216

217-
/** Calculate span of a digits. */
217+
/** Calculate span of digits. */
218218
su_inline isize_t span_digit(char const *s)
219219
{
220220
char const *e = s;
@@ -241,7 +241,7 @@ su_inline isize_t span_alpha_digit_safe(char const *s)
241241
return e - s;
242242
}
243243

244-
/** Calculate span of a characters valid in parameters. */
244+
/** Calculate span of characters valid in parameters. */
245245
su_inline isize_t span_param(char const *s)
246246
{
247247
char const *e = s;
@@ -259,7 +259,7 @@ su_inline isize_t span_word(char const *s)
259259
return e - s;
260260
}
261261

262-
/** Calculate span of a unreserved characters. */
262+
/** Calculate span of unreserved characters. */
263263
su_inline isize_t span_unreserved(char const *s)
264264
{
265265
char const *e = s;

libsofia-sip-ua/docs/mainpage.docs

+2-2
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ write functions that fetch the desired bits from a 32 bit field
338338
with bit operations; not very handy and error prone.
339339

340340
The same aligment problem also arises if you cast for example char
341-
buffer to a int32_t. You can only read int32_t from the 32bit boundary
341+
buffer to an int32_t. You can only read int32_t from the 32bit boundary
342342
on ARM platform. So be careful.
343343

344344
As a conclusion, when using bit-fields and stucture packing, beware
@@ -423,7 +423,7 @@ header-specific data, like header name.
423423

424424
@subsection oo_derived Inheritance and Derived Objects
425425

426-
Inheritance is a object-oriented practice that has limited use in Sofia.
426+
Inheritance is an object-oriented practice that has limited use in Sofia.
427427
Most common example of inheritance is use of #su_home_t. Many objects are
428428
derived from #su_home_t, which means that they can use the various
429429
home-based memory management functions from <su_alloc.h>.

libsofia-sip-ua/http/sofia-sip/http_parser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ SOFIA_BEGIN_DECLS
7575
#define HTTP_HEADER_CLASS_LIST(c, l, kind) \
7676
MSG_HEADER_CLASS(http_, c, l, "", k_items, kind, msg_list, http_no)
7777

78-
/** Define a authorization header class */
78+
/** Define an authorization header class */
7979
#define HTTP_HEADER_CLASS_AUTH(c, l, kind) \
8080
MSG_HEADER_CLASS(http_, c, l, "", au_params, kind, msg_auth, http_no)
8181

libsofia-sip-ua/iptsec/auth_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ void auth_challenge_digest(auth_mod_t *am,
817817
as->as_status = ach->ach_status, as->as_phrase = ach->ach_phrase;
818818
}
819819

820-
/** Construct a info header for @b Digest authentication scheme. */
820+
/** Construct an info header for @b Digest authentication scheme. */
821821
void auth_info_digest(auth_mod_t *am,
822822
auth_status_t *as,
823823
auth_challenger_t const *ach)

libsofia-sip-ua/sip/sip_util.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ int sip_response_terminates_dialog(int response_code,
10451045
return terminate_dialog;
10461046

10471047
case 417:
1048-
/** @par 417 Uknown Resource-Priority
1048+
/** @par 417 Unknown Resource-Priority
10491049
The effect of this response on usages
10501050
and dialogs is analgous to that for 420 and 488. The usage is not
10511051
affected. The dialog is only affected by a change in its local

tests/test_ops.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ int save_until_final_response(CONDITION_PARAMS)
6262

6363
/** Save events.
6464
*
65-
* Terminate when a event is saved.
65+
* Terminate when an event is saved.
6666
*/
6767
int save_until_received(CONDITION_PARAMS)
6868
{

utils/Doxyfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -6159,7 +6159,7 @@ PERL_PATH = /usr/bin/perl
61596159
#---------------------------------------------------------------------------
61606160

61616161
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
6162-
# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
6162+
# generate an inheritance diagram (in HTML, RTF and LaTeX) for classes with base
61636163
# or super classes. Setting the tag to NO turns the diagrams off. Note that
61646164
# this option is superseded by the HAVE_DOT option below. This is only a
61656165
# fallback. It is recommended to install and use dot, since it yields more

0 commit comments

Comments
 (0)