Browse code

- Fix typos

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3384 689a6050-402a-0410-94f2-e92a70836424

Jesus Rodrigues authored on 14/12/2007 12:10:47
Showing 16 changed files
... ...
@@ -232,7 +232,7 @@ int do_read( int socket, rd_buf_t *p)
232 232
 		{
233 233
 			if (p->buf==0)
234 234
 			{
235
-				/* I just finished reading the the first 4 bytes from msg */
235
+				/* I just finished reading the first 4 bytes from msg */
236 236
 				len = ntohl(p->first_4bytes)&0x00ffffff;
237 237
 				if (len<AAA_MSG_HDR_SIZE || len>MAX_AAA_MSG_SIZE)
238 238
 				{
... ...
@@ -140,7 +140,7 @@ int do_read( int socket, rd_buf_t *p)
140 140
 		{
141 141
 			if (p->buf==0)
142 142
 			{
143
-				/* I just finished reading the the first 4 bytes from msg */
143
+				/* I just finished reading the first 4 bytes from msg */
144 144
 				len = ntohl(p->first_4bytes)&0x00ffffff;
145 145
 				if (len<AAA_MSG_HDR_SIZE || len>MAX_AAA_MSG_SIZE)
146 146
 				{
... ...
@@ -20,7 +20,7 @@
20 20
 	</para>
21 21
 	<para>
22 22
 		The module does not implement any actions on blocking - it just simply
23
-		reports that the there is an high traffic from an IP; what to do, is
23
+		reports that there is a high traffic from an IP; what to do, is
24 24
 		the administator decision (via scripting).
25 25
 	</para>
26 26
 	</section>
... ...
@@ -451,8 +451,8 @@ modparam("registrar", "sock_flag", 18)
451 451
 	<section>
452 452
 		<title><varname>sock_hdr_name</varname> (string)</title>
453 453
 		<para>
454
-		Header which contains a socket description (proto:IP:port) to overide
455
-		the the received socket info. The header will be read only if the
454
+		Header which contains a socket description (proto:IP:port) to override
455
+		the received socket info. The header will be read only if the
456 456
 		flag sock_flag is set.
457 457
 		</para>
458 458
 		<para>
... ...
@@ -426,7 +426,7 @@ static struct lump *get_rr_param_lump( struct lump** root)
426 426
 	for( crt=*root ; crt && !last ; crt=crt->next,(*root)=crt ) {
427 427
 		/* check on before list */
428 428
 		for( r=crt->before ; r ; r=r->before ) {
429
-			/* we are looking for the the lump that adds the 
429
+			/* we are looking for the lump that adds the 
430 430
 			 * suffix of the RR header */
431 431
 			if ( r->type==HDR_RECORDROUTE_T && r->op==LUMP_ADD)
432 432
 				last = r;
... ...
@@ -274,7 +274,7 @@ modparam("sms", "links", "NOKIA[D1;d2]")
274 274
 		<title><varname>default_net</varname> (string)</title>
275 275
 		<para>
276 276
 		The default network to use. If no one specified, the first defined
277
-		network is used. This parameter is useful only if the the 
277
+		network is used. This parameter is useful only if the 
278 278
 		<quote>sms_send_msg</quote> exported function is used 
279 279
 		(see <xref linkend="sec-exported-functions">).
280 280
 		</para>
... ...
@@ -538,7 +538,7 @@ OPENSER-SIP-SERVER-MIB DEFINITIONS ::= BEGIN
538 538
                   should read this object, then use the result as an index into
539 539
                   the openserSIPRegUserLookupTable.
540 540
                   
541
-                  This ensures that every row-set in the the 
541
+                  This ensures that every row-set in the 
542 542
                   openserSIPRegUserTable is unique, and each client request 
543 543
                   will have a unique index to use."
544 544
             ::= { openserSIPRegCfg 8 }
... ...
@@ -333,7 +333,7 @@ int handle_openserMsgQueueDepthAlarmStatus(netsnmp_mib_handler *handler,
333 333
 {
334 334
 
335 335
 	/* The MIB specifications say the scalar should be set to 'clear' if
336
-	 * everything is ok.  According the the X731AlarmStatus specification,
336
+	 * everything is ok.  According the X731AlarmStatus specification,
337 337
 	 * this means that no bits are toggled.  So we set the state to zero by
338 338
 	 * default */
339 339
 	unsigned int state = 0;
... ...
@@ -535,7 +535,7 @@ int handle_openserDialogLimitAlarmStatus(netsnmp_mib_handler *handler,
535 535
 		netsnmp_request_info         *requests)
536 536
 {
537 537
 	/* The MIB specifications say the scalar should be set to 'clear' if
538
-	 * everything is ok.  According the the X731AlarmStatus specification,
538
+	 * everything is ok.  According the X731AlarmStatus specification,
539 539
 	 * this means that no bits are toggled.  So we set the state to zero by
540 540
 	 * default */
541 541
 	unsigned int state = 0;
... ...
@@ -43,7 +43,7 @@
43 43
  *    (This is actually called when the SNMPStats module is initialized)
44 44
  *
45 45
  * 2) Whenever we receive a contact callback, handleContactCallbacks() will 
46
- *    quickly add the the contact information and operation type to the
46
+ *    quickly add the contact information and operation type to the
47 47
  *    interprocess buffer.  
48 48
  *
49 49
  * 3) When we receive an SNMP request for user/contact information, we consume
... ...
@@ -45,7 +45,7 @@
45 45
  *    (This is actually called when the SNMPStats module is initialized)
46 46
  *
47 47
  * 2) Whenever we receive a contact callback, handleContactCallbacks() will 
48
- *    quickly add the the contact information and operation type to the
48
+ *    quickly add the contact information and operation type to the
49 49
  *    interprocess buffer.  
50 50
  *
51 51
  * 3) When we receive an SNMP request for user/contact information, we consume
... ...
@@ -137,7 +137,7 @@ static int openserSIPRegUserLookupTable_row_copy(
137 137
  *
138 138
  * This routine is called when a set request is received for an index
139 139
  * that was not found in the table container. Here, we parse the oid
140
- * in the the individual index components and copy those indexes to the
140
+ * in the individual index components and copy those indexes to the
141 141
  * context. Then we make sure the indexes for the new row are valid.
142 142
  *
143 143
  * It has been modified from its original form in that if the indexes are
... ...
@@ -145,7 +145,7 @@ static int openserSIPStatusCodesTable_row_copy(
145 145
  * the *_extract_index routine (Mostly auto-generated)
146 146
  *
147 147
  * This routine is called when a set request is received for an index that 
148
- * was not found in the table container. Here, we parse the oid in the the
148
+ * was not found in the table container. Here, we parse the oid in the
149 149
  * individual index components and copy those indexes to the context. Then 
150 150
  * we make sure the indexes for the new row are valid.
151 151
  *
... ...
@@ -54,7 +54,7 @@
54 54
       in a semaphore set
55 55
    3) we allocate a semaphore set for hash_entries and
56 56
       try to use as many semaphores in it as OS allows;
57
-      we partition the the hash_entries by available
57
+      we partition the hash_entries by available
58 58
       semaphores which are shared  in each partition
59 59
    4) cells get always the same semaphore as its hash
60 60
       entry in which they live
... ...
@@ -762,7 +762,7 @@ inline static int t_local_replied(struct sip_msg* msg, char *type, char *bar)
762 762
 		/* check branch */
763 763
 		case 1:
764 764
 			if (route_type==FAILURE_ROUTE) {
765
-				/* use the the winning reply */
765
+				/* use the winning reply */
766 766
 				if ( (branch=t_get_picked_branch())<0 ) {
767 767
 					LM_CRIT("no picked branch (%d) for"
768 768
 						" a final response in MODE_ONFAILURE\n", branch);
... ...
@@ -776,7 +776,7 @@ inline static int t_local_replied(struct sip_msg* msg, char *type, char *bar)
776 776
 		/* check last */
777 777
 		case 2:
778 778
 			if (route_type==FAILURE_ROUTE) {
779
-				/* use the the winning reply */
779
+				/* use the winning reply */
780 780
 				if ( (branch=t_get_picked_branch())<0 ) {
781 781
 					LM_CRIT("no picked branch (%d) for"
782 782
 						" a final response in MODE_ONFAILURE\n", branch);
... ...
@@ -207,7 +207,7 @@ int t_uac(str* method, str* headers, str* body, dlg_t* dialog,
207 207
 	/* dcm: for testing: avps should stay to parrent message
208 208
 	 * reset_avps(); */
209 209
 
210
-	/* add the callback the the transaction for LOCAL_COMPLETED event */
210
+	/* add the callback the transaction for LOCAL_COMPLETED event */
211 211
 	flags = TMCB_LOCAL_COMPLETED;
212 212
 	/* Add also TMCB_LOCAL_RESPONSE_OUT if provisional replies are desired */
213 213
 	if (pass_provisional_replies || pass_provisional(new_cell))
... ...
@@ -286,7 +286,7 @@ uac_replace_from("","");
286 286
 				<function moreinfo="none">uac_replace_from(uri)</function>
287 287
 			</title>
288 288
 			<para>
289
-				Replace in FROM header the the <emphasis>URI</emphasis> part
289
+				Replace in FROM header the <emphasis>URI</emphasis> part
290 290
 				without altering the display name.
291 291
 			</para>
292 292
 			<para>