Browse Source

- Spelling checked

Jan Janak 21 years ago
parent
commit
c32feee57c
100 changed files with 170 additions and 172 deletions
  1. 1 1
      parser/case_acce.h
  2. 1 1
      parser/case_allo.h
  3. 1 1
      parser/case_auth.h
  4. 1 1
      parser/case_call.h
  5. 1 1
      parser/case_cont.h
  6. 1 1
      parser/case_cseq.h
  7. 1 1
      parser/case_dive.h
  8. 1 1
      parser/case_even.h
  9. 1 1
      parser/case_expi.h
  10. 1 1
      parser/case_from.h
  11. 1 1
      parser/case_max.h
  12. 1 1
      parser/case_orga.h
  13. 1 1
      parser/case_prio.h
  14. 1 1
      parser/case_prox.h
  15. 1 1
      parser/case_reco.h
  16. 1 1
      parser/case_remo.h
  17. 1 1
      parser/case_requ.h
  18. 1 1
      parser/case_rout.h
  19. 1 1
      parser/case_subj.h
  20. 1 1
      parser/case_supp.h
  21. 1 1
      parser/case_to.h
  22. 1 1
      parser/case_unsu.h
  23. 1 1
      parser/case_user.h
  24. 1 1
      parser/case_via.h
  25. 1 1
      parser/case_www.h
  26. 2 2
      parser/contact/contact.c
  27. 3 3
      parser/contact/contact.h
  28. 1 1
      parser/contact/parse_contact.c
  29. 1 1
      parser/contact/parse_contact.h
  30. 2 2
      parser/digest/digest.c
  31. 1 1
      parser/digest/digest.h
  32. 1 1
      parser/digest/digest_keys.h
  33. 5 5
      parser/digest/digest_parser.c
  34. 1 1
      parser/digest/digest_parser.h
  35. 1 1
      parser/digest/param_parser.c
  36. 1 1
      parser/digest/param_parser.h
  37. 1 3
      parser/hf.c
  38. 1 1
      parser/hf.h
  39. 1 1
      parser/keys.h
  40. 4 4
      parser/msg_parser.c
  41. 4 4
      parser/msg_parser.h
  42. 1 1
      parser/obsolete/parse_hname.c
  43. 1 1
      parser/obsolete/parse_hname.h
  44. 2 2
      parser/obsolete/strs.h
  45. 3 3
      parser/parse_content.c
  46. 2 2
      parser/parse_content.h
  47. 1 1
      parser/parse_cseq.c
  48. 1 1
      parser/parse_cseq.h
  49. 1 1
      parser/parse_def.h
  50. 6 6
      parser/parse_disposition.c
  51. 4 4
      parser/parse_disposition.h
  52. 1 1
      parser/parse_diversion.c
  53. 1 1
      parser/parse_diversion.h
  54. 3 3
      parser/parse_event.c
  55. 1 1
      parser/parse_event.h
  56. 1 1
      parser/parse_expires.c
  57. 2 2
      parser/parse_expires.h
  58. 2 2
      parser/parse_fline.c
  59. 1 1
      parser/parse_fline.h
  60. 1 1
      parser/parse_from.c
  61. 1 1
      parser/parse_from.h
  62. 2 2
      parser/parse_hname2.c
  63. 1 1
      parser/parse_hname2.h
  64. 1 1
      parser/parse_hostport.c
  65. 1 1
      parser/parse_hostport.h
  66. 2 2
      parser/parse_nameaddr.c
  67. 2 2
      parser/parse_nameaddr.h
  68. 6 6
      parser/parse_param.c
  69. 3 3
      parser/parse_param.h
  70. 3 3
      parser/parse_rr.c
  71. 1 1
      parser/parse_rr.h
  72. 1 1
      parser/parse_to.c
  73. 1 1
      parser/parse_to.h
  74. 3 3
      parser/parse_uri.c
  75. 1 1
      parser/parse_uri.h
  76. 1 1
      parser/parse_via.c
  77. 1 1
      parser/parse_via.h
  78. 2 2
      parser/parser_f.c
  79. 3 3
      parser/parser_f.h
  80. 2 2
      test/auto.c
  81. 1 1
      test/dns_query.c
  82. 1 1
      test/file_copyright.txt
  83. 2 2
      test/gethostbyaddr.c
  84. 1 1
      test/gethostbyname.c
  85. 1 1
      test/gplize.awk
  86. 2 2
      test/ifls.c
  87. 5 5
      test/locking/locking_test.c
  88. 2 2
      test/p_uri.c
  89. 1 1
      test/re_test.c
  90. 1 1
      test/resolver_test.c
  91. 6 6
      test/shoot.c
  92. 6 6
      test/shoot2.c
  93. 1 1
      test/sock_conn.c
  94. 1 1
      test/sock_disc.c
  95. 1 1
      test/test.c
  96. 5 5
      test/udp.c
  97. 1 1
      test/udp_flood.c
  98. 1 1
      test/udp_flood_disc.c
  99. 1 1
      test/udp_test_proxy.c
  100. 2 2
      test/via_parse.c

+ 1 - 1
parser/case_acce.h

@@ -3,7 +3,7 @@
  *
  * Accept and Accept-Language Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_allo.h

@@ -3,7 +3,7 @@
  *
  * Allow Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_auth.h

@@ -3,7 +3,7 @@
  *
  * Authorization Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_call.h

@@ -3,7 +3,7 @@
  *
  * Call-ID Header Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_cont.h

@@ -4,7 +4,7 @@
  * Contact, Content-Type, Content-Length, Content-Disposition
  * Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_cseq.h

@@ -3,7 +3,7 @@
  *
  * CSeq Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_dive.h

@@ -3,7 +3,7 @@
  *
  * Diversion Header Field Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_even.h

@@ -3,7 +3,7 @@
  *
  * Event Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_expi.h

@@ -3,7 +3,7 @@
  *
  * Expires Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_from.h

@@ -3,7 +3,7 @@
  *
  * From Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_max.h

@@ -3,7 +3,7 @@
  *
  * Max-Forwards Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_orga.h

@@ -3,7 +3,7 @@
  *
  * Organization Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_prio.h

@@ -3,7 +3,7 @@
  *
  * Priority Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_prox.h

@@ -3,7 +3,7 @@
  *
  * Proxy-Require, Proxy-Authorization Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_reco.h

@@ -3,7 +3,7 @@
  *
  * Record-Route Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_remo.h

@@ -3,7 +3,7 @@
  *
  * Remote-Party-ID Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_requ.h

@@ -3,7 +3,7 @@
  *
  * Require Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_rout.h

@@ -3,7 +3,7 @@
  *
  * Route Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_subj.h

@@ -3,7 +3,7 @@
  *
  * Subject Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_supp.h

@@ -3,7 +3,7 @@
  *
  * Supported Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_to.h

@@ -3,7 +3,7 @@
  *
  * To Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_unsu.h

@@ -3,7 +3,7 @@
  *
  * Unsupported Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_user.h

@@ -3,7 +3,7 @@
  *
  * User-Agent Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_via.h

@@ -3,7 +3,7 @@
  *
  * Via Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/case_www.h

@@ -3,7 +3,7 @@
  *
  * WWW-Authenticate Header Field Name Parsing Macros
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/contact/contact.c

@@ -3,7 +3,7 @@
  *
  * Parses one Contact in Contact HF body
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -190,7 +190,7 @@ int parse_contacts(str* _s, contact_t** _c)
 	param_hooks_t hooks;
 
 	while(1) {
-		     /* Allocate and clear contact stucture */
+		     /* Allocate and clear contact structure */
 		c = (contact_t*)pkg_malloc(sizeof(contact_t));
 		if (c == 0) {
 			LOG(L_ERR, "parse_contacts(): No memory left\n");

+ 3 - 3
parser/contact/contact.h

@@ -1,9 +1,9 @@
 /*
  * $Id$
  *
- * Contact datatype
+ * Contact data type
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -41,7 +41,7 @@
 
 
 /*
- * Structure representing a Contac HF body
+ * Structure representing a Contact HF body
  */
 typedef struct contact {
 	str name;               /* Name part */

+ 1 - 1
parser/contact/parse_contact.c

@@ -3,7 +3,7 @@
  *
  * Contact header field body parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/contact/parse_contact.h

@@ -3,7 +3,7 @@
  *
  * Contact header field body parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/digest/digest.c

@@ -3,7 +3,7 @@
  *
  * Digest credentials parser interface
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -79,7 +79,7 @@ int parse_credentials(struct hdr_field* _h)
 	}
 
 	     /* parse_digest_cred must return < -1 on error otherwise we will be
-	      * unable to distinguis if the error was caused by the server or if the
+	      * unable to distinguish if the error was caused by the server or if the
 	      * credentials are broken
 	      */
 	res = parse_digest_cred(&(_h->body), &(((auth_body_t*)(_h->parsed))->digest));

+ 1 - 1
parser/digest/digest.h

@@ -3,7 +3,7 @@
  *
  * Digest credentials parser interface
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/digest/digest_keys.h

@@ -3,7 +3,7 @@
  *
  * This file is automatically generated, do not edit
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 5 - 5
parser/digest/digest_parser.c

@@ -3,7 +3,7 @@
  *
  * Digest credentials parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -117,7 +117,7 @@ static inline int parse_token(str* _s, str* _r)
 	      */
 	_r->s = _s->s;
 
-	     /* Iterate throught the
+	     /* Iterate through the
 	      * token body
 	      */
 	for(i = 0; i < _s->len; i++) {
@@ -200,7 +200,7 @@ static inline int parse_digest_param(str* _s, dig_cred_t* _c)
 	default:            ptr = &dummy;               break;
 	}
 
-	     /* If the first character is qoute, it is
+	     /* If the first character is quote, it is
 	      * a quoted string, otherwise it is a token
 	      */
 	if (_s->s[0] == '\"') {
@@ -302,7 +302,7 @@ static inline int parse_digest_params(str* _s, dig_cred_t* _c)
 		comma = q_memchr(_s->s, ',', _s->len);
 		if (comma) {
 			     /* Yes, there is another, 
-			      * remove any leading whitespaces
+			      * remove any leading white-spaces
 			      * and let _s point to the next
 			      * parameter name
 			      */
@@ -367,7 +367,7 @@ int parse_digest_cred(str* _s, dig_cred_t* _c)
 		tmp.s += DIG_LEN + 1;
 		tmp.len -= DIG_LEN + 1;
 		
-		     /* Again, skip all whitespaces */
+		     /* Again, skip all white-spaces */
 		trim_leading(&tmp);
 
 		     /* And parse digest parameters */

+ 1 - 1
parser/digest/digest_parser.h

@@ -3,7 +3,7 @@
  *
  * Digest credentials parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/digest/param_parser.c

@@ -3,7 +3,7 @@
  *
  * 32-bit Digest parameter name parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/digest/param_parser.h

@@ -3,7 +3,7 @@
  *
  * 32-bit Digest parameter name parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 3
parser/hf.c

@@ -1,7 +1,7 @@
 /* 
  * $Id$ 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -45,7 +45,6 @@
 #include "parse_rr.h"
 #include "contact/parse_contact.h"
 #include "parse_disposition.h"
-#include "parse_allow.h"
 #include "../ut.h"
 
 
@@ -119,7 +118,6 @@ void clean_hdr_field(struct hdr_field* hf)
 			break;
 
 		case HDR_ALLOW:
-			free_allow((unsigned int**)(&(hf->parsed)));
 			break;
 
 		case HDR_EVENT:

+ 1 - 1
parser/hf.h

@@ -1,7 +1,7 @@
 /* 
  * $Id$ 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/keys.h

@@ -3,7 +3,7 @@
  *
  * Fast 32-bit Header Field Name Parser -- keys
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 4 - 4
parser/msg_parser.c

@@ -4,7 +4,7 @@
  * sip msg. header proxy parser 
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -62,7 +62,7 @@
 
 #define parse_hname(_b,_e,_h) parse_hname2((_b),(_e),(_h))
 
-/* number of via's encounteded */
+/* number of via's encountered */
 int via_cnt;
 
 /* returns pointer to next header line, and fill hdr_f ;
@@ -252,8 +252,8 @@ error:
    for the same HF which is present only once, it will fail the second
    time; if you call it twice and the HF is found on second time too,
    it's not replaced in the well-known HF pointer but just added to
-   header list; if you want to use a dumbie convenience function which will
-   give you the first occurance of a header you are interested in,
+   header list; if you want to use a dumb convenience function which will
+   give you the first occurrence of a header you are interested in,
    look at check_transaction_quadruple
 */
 int parse_headers(struct sip_msg* msg, int flags, int next)

+ 4 - 4
parser/msg_parser.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -156,7 +156,7 @@ struct sip_msg {
 	int parsed_flag;               /* Already parsed header field types */
 
 	     /* Via, To, CSeq, Call-Id, From, end of header*/
-	     /* pointers to the first occurances of these headers;
+	     /* pointers to the first occurrences of these headers;
 		  * everything is also saved in 'headers'
 		  * (WARNING: do not deallocate them twice!)*/
 
@@ -196,7 +196,7 @@ struct sip_msg {
 	
 	struct receive_info rcv; /* source & dest ip, ports, proto a.s.o*/
 
-	char* buf;        /* scratch pad, holds a modfied message,
+	char* buf;        /* scratch pad, holds a modified message,
 					   *  via, etc. point into it */
 	unsigned int len; /* message len (orig) */
 
@@ -225,7 +225,7 @@ struct sip_msg {
 	char add_to_branch_s[MAX_BRANCH_PARAM_LEN];
 	int add_to_branch_len;
 	
-	     /* index to TM hash table; stored in core to avoid unnecessary calcs */
+	     /* index to TM hash table; stored in core to avoid unnecessary calculations */
 	unsigned int  hash_index;
 	unsigned int msg_flags; /* flags used by core */
 	     /* allows to set various flags on the message; may be used for 

+ 1 - 1
parser/obsolete/parse_hname.c

@@ -14,7 +14,7 @@
  * Route:             n/a
  * Record-Route:      n/a
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/obsolete/parse_hname.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/obsolete/strs.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -31,7 +31,7 @@
 #define via1 0x3a616976   /* "via:" */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 3 - 3
parser/parse_content.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -287,7 +287,7 @@ int parse_content_type_hdr( struct sip_msg *msg )
 	if (ret==0)
 		goto error;
 	if (ret!=end) {
-		LOG(L_ERR,"ERROR:parse_content_type_hdr: CONTENT_TYPE hdr containes "
+		LOG(L_ERR,"ERROR:parse_content_type_hdr: CONTENT_TYPE hdr contains "
 			"more then one mime type :-(!\n");
 		goto error;
 	}
@@ -343,7 +343,7 @@ int parse_accept_hdr( struct sip_msg *msg )
 		/* a new mime was found  -> put it into array */
 		if (nr_mimes==MAX_MIMES_NR) {
 			LOG(L_ERR,"ERROR:parse_accept_hdr: Accept hdr contains more than"
-				" %d mime type -> buffer ovrflow!!\n",MAX_MIMES_NR);
+				" %d mime type -> buffer overflow!!\n",MAX_MIMES_NR);
 			goto error;
 		}
 		mimes[nr_mimes++] = mime;

+ 2 - 2
parser/parse_content.h

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -99,7 +99,7 @@ int parse_accept_hdr( struct sip_msg *msg );
 
 
 /*
- *  parse the body of a Content_-Length header. Also tryes to recognize the
+ *  parse the body of a Content_-Length header. Also tries to recognize the
  *  type specified by this header (see th above defines).
  *  Returns the first chr after the end of the header.
  */

+ 1 - 1
parser/parse_cseq.c

@@ -1,7 +1,7 @@
 /* 
  * $Id$ 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_cseq.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_def.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 6 - 6
parser/parse_disposition.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -43,7 +43,7 @@
 
 /* parse a string that supposed to be a disposition and fills up the structure
  * Returns: -1 : error
- *           o : sucess */
+ *           o : success */
 int parse_disposition( str *s, struct disposition *disp)
 {
 	enum { FIND_TYPE, TYPE, END_TYPE, FIND_PARAM, PARAM, END_PARAM, FIND_VAL,
@@ -364,7 +364,7 @@ void free_disposition( struct disposition **disp)
 
 
 /* looks inside the message, gets the Content-Disposition hdr, parse it, builds
- * and fills a disposition strucure for it what will be attached to hdr as
+ * and fills a disposition structure for it what will be attached to hdr as
  * parsed link.
  * Returns:  -1 : error
  *            0 : success
@@ -384,7 +384,7 @@ int parse_content_disposition( struct sip_msg *msg )
 		}
 	}
 
-	/* now, we have the headr -> look if it isn't already parsed */
+	/* now, we have the header -> look if it isn't already parsed */
 	if (msg->content_disposition->parsed!=0) {
 		/* already parsed, nothing more to be done */
 		return 0;
@@ -413,7 +413,7 @@ error:
 }
 
 
-/* Prints recursiv a disposition structure */
+/* Prints recursive a disposition structure */
 void print_disposition( struct disposition *disp)
 {
 	struct disposition_param *param;
@@ -421,7 +421,7 @@ void print_disposition( struct disposition *disp)
 	DBG("*** Disposition type=<%.*s>[%d]\n",
 		disp->type.len,disp->type.s,disp->type.len);
 	for( param=disp->params; param; param=param->next) {
-		DBG("*** DIsposition param: <%.*s>[%d]=<%.*s>[%d] is_quoted=%d\n",
+		DBG("*** Disposition param: <%.*s>[%d]=<%.*s>[%d] is_quoted=%d\n",
 			param->name.len,param->name.s, param->name.len,
 			param->body.len,param->body.s, param->body.len,
 			param->is_quoted);

+ 4 - 4
parser/parse_disposition.h

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -55,7 +55,7 @@ struct disposition {
 
 
 /* looks inside the message, gets the Content-Disposition hdr, parse it, builds
- * and fills a disposition strucure for it what will be attached to hdr as
+ * and fills a disposition structure for it what will be attached to hdr as
  * parsed link.
  * Returns:  -1 : error
  *            0 : success
@@ -66,14 +66,14 @@ int parse_content_disposition( struct sip_msg *msg );
 
 /* parse a string that supposed to be a disposition and fills up the structure
  * Returns: -1 : error
- *           o : sucess */
+ *           o : success */
 int parse_disposition( str *s, struct disposition *disp);
 
 
 /* Frees the entire disposition structure (params + itself) */
 void free_disposition( struct disposition **disp);
 
-/* Prints recursiv a disposition structure */
+/* Prints recursive a disposition structure */
 void print_disposition( struct disposition *disp);
 
 #endif

+ 1 - 1
parser/parse_diversion.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_diversion.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 3 - 3
parser/parse_event.c

@@ -3,11 +3,11 @@
  *
  * Event header field body parser.
  * The parser was written for Presence Agent module only.
- * it recognize presence package only, no subpackages, no parameters
- * It should be replaced by a more generic parser if subpackages or
+ * it recognize presence package only, no sub-packages, no parameters
+ * It should be replaced by a more generic parser if sub-packages or
  * parameters should be parsed too.
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_event.h

@@ -7,7 +7,7 @@
  * It should be replaced by a more generic parser if subpackages or
  * parameters should be parsed too.
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_expires.c

@@ -3,7 +3,7 @@
  *
  * Expires header field body parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/parse_expires.h

@@ -3,7 +3,7 @@
  *
  * Expires header field body parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -37,7 +37,7 @@
 
 typedef struct exp_body {
 	str text;            /* Original text representation */
-	unsigned char valid; /* Was parsing successfull ? */
+	unsigned char valid; /* Was parsing successful ? */
 	int val;             /* Parsed value */
 } exp_body_t;
 

+ 2 - 2
parser/parse_fline.c

@@ -4,7 +4,7 @@
  * sip first line parsing automaton
  * 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -79,7 +79,7 @@ char* parse_fline(char* buffer, char* end, struct msg_start* fl)
 			case ' ':
 			case '\t':
 				switch(state){
-					case START: /*allow space at the beginnig, althoug not
+					case START: /*allow space at the begining, although not
 								  legal*/
 						break;
 					case L_URI:

+ 1 - 1
parser/parse_fline.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_from.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_from.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/parse_hname2.c

@@ -3,7 +3,7 @@
  *
  * Fast 32-bit Header Field Name Parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -43,7 +43,7 @@
 #define LOWER_DWORD(d) ((d) | 0x20202020)
 
 /*
- * Skip all whitechars and return position of the first
+ * Skip all white-chars and return position of the first
  * non-white char
  */
 static inline char* skip_ws(char* p, unsigned int size)

+ 1 - 1
parser/parse_hname2.h

@@ -3,7 +3,7 @@
  *
  * Fast 32-bit Header Field Name Parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_hostport.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_hostport.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/parse_nameaddr.c

@@ -1,7 +1,7 @@
 /* 
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -69,7 +69,7 @@ int parse_nameaddr(str* _s, name_addr_t* _a)
 		return -4;
 	}
 
-	     /* Totat length of the field including <> */
+	     /* Total length of the field including <> */
 	_a->len = uri_end - _a->name.s + 1;
 	
 	_a->uri.len = uri_end - _a->uri.s;

+ 2 - 2
parser/parse_nameaddr.h

@@ -1,7 +1,7 @@
 /* 
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -41,7 +41,7 @@
 typedef struct name_addr {
 	str name;   /* Display name part */
 	str uri;    /* Uri part without surrounding <> */
-	int len;    /* Total lenght of the field (including all
+	int len;    /* Total length of the field (including all
 		    * whitechars present in the parsed message */
 } name_addr_t;
 

+ 6 - 6
parser/parse_param.c

@@ -3,7 +3,7 @@
  *
  * Generic Parameter Parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -74,9 +74,9 @@ static inline void parse_contact_class(param_hooks_t* _h, param_t* _p)
 		
 	case 'm':
 	case 'M':
-		if ((_p->name.len == 7) &&
-		    (!strncasecmp(_p->name.s + 1, "ethods", 5))) {
-			_p->type = P_METHODS;
+		if ((_p->name.len == 6) &&
+		    (!strncasecmp(_p->name.s + 1, "ethod", 5))) {
+			_p->type = P_METHOD;
 			_h->contact.method = _p;
 		}
 		break;
@@ -207,7 +207,7 @@ static inline int parse_token_param(str* _s, str* _r)
 	      */
 	_r->s = _s->s;
 
-	     /* Iterate throught the
+	     /* Iterate through the
 	      * token body
 	      */
 	for(i = 0; i < _s->len; i++) {
@@ -459,7 +459,7 @@ static inline void print_param(FILE* _o, param_t* _p)
 	case P_OTHER:     type = "P_OTHER";     break;
 	case P_Q:         type = "P_Q";         break;
 	case P_EXPIRES:   type = "P_EXPIRES";   break;
-	case P_METHODS:   type = "P_METHODS";   break;
+	case P_METHOD:    type = "P_METHOD";    break;
 	case P_TRANSPORT: type = "P_TRANSPORT"; break;
 	case P_LR:        type = "P_LR";        break;
 	case P_R2:        type = "P_R2";        break;

+ 3 - 3
parser/parse_param.h

@@ -3,7 +3,7 @@
  *
  * Generic Parameter Parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -46,7 +46,7 @@ typedef enum ptype {
 	P_OTHER = 0, /* Unknown parameter */
 	P_Q,         /* Contact: q parameter */
 	P_EXPIRES,   /* Contact: expires parameter */
-	P_METHODS,   /* Contact: method parameter */
+	P_METHOD,    /* Contact: method parameter */
 	P_TRANSPORT, /* URI: transport parameter */
 	P_LR,        /* URI: lr parameter */
 	P_R2,        /* URI: r2 parameter (ser specific) */
@@ -72,7 +72,7 @@ typedef struct param {
 	ptype_t type;         /* Type of the parameter */
 	str name;             /* Parameter name */
 	str body;             /* Parameter body */
-	int len;              /* Total lenght of the parameter including = and quotes */
+	int len;              /* Total length of the parameter including = and quotes */
 	struct param* next;   /* Next parameter in the list */
 } param_t;
 

+ 3 - 3
parser/parse_rr.c

@@ -3,7 +3,7 @@
  *
  * Route & Record-Route header field parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -30,7 +30,7 @@
 /**
  * History:
  * --------
- * 2003-10-07  parse_rr() splited and added parse_rr_body()
+ * 2003-10-07  parse_rr() split and added parse_rr_body()
  * 2003-10-21  duplicate_rr() duplicate the whole linked list of RR
  */
 #include <string.h>
@@ -83,7 +83,7 @@ static inline int do_parse_rr_body(char *buf, int len, rr_t **head)
 		s.s = r->nameaddr.name.s + r->nameaddr.len;  /* Point just behind > */
 		s.len -= r->nameaddr.len;
 
-		trim_leading(&s); /* Skip any whitechars */
+		trim_leading(&s); /* Skip any white-chars */
 
 		if (s.len == 0) goto ok; /* Nothing left, finish */
 		

+ 1 - 1
parser/parse_rr.h

@@ -3,7 +3,7 @@
  *
  * Route & Record-Route Parser
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_to.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_to.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 3 - 3
parser/parse_uri.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -799,7 +799,7 @@ int parse_uri(char* buf, int len, struct sip_uri* uri)
 						break;
 					case '?':
 						if (pass){
-							found_user=1; /* no user, pass cannot conaint '?'*/
+							found_user=1; /* no user, pass cannot contain '?'*/
 							pass=0;
 						}
 						break;
@@ -811,7 +811,7 @@ int parse_uri(char* buf, int len, struct sip_uri* uri)
 	}
 	/*end of uri */
 	switch (state){
-		case URI_INIT: /* error empy uri */
+		case URI_INIT: /* error empty uri */
 			goto error_too_short;
 		case URI_USER:
 			/* this is the host, it can't be the user */

+ 1 - 1
parser/parse_uri.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_via.c

@@ -4,7 +4,7 @@
  * via parsing automaton
  * 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
parser/parse_via.h

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
parser/parser_f.c

@@ -4,7 +4,7 @@
  * parser helper  functions
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -41,7 +41,7 @@ char* eat_line(char* buffer, unsigned int len)
 {
 	char* nl;
 
-	/* jku .. replace for search with a library function; not conformant
+	/* jku .. replace for search with a library function; not conforming
  		  as I do not care about CR
 	*/
 	nl=(char *)q_memchr( buffer, '\n', len );

+ 3 - 3
parser/parser_f.h

@@ -1,7 +1,7 @@
 /* 
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -51,7 +51,7 @@ inline static char* eat_lws_end(char* p, char* pend)
 {
 	while(p<pend) {
 		if (SP(*p)) p++;
-		/* btw--I really dislike line folding; -jiri */
+		/* BTW--I really dislike line folding; -jiri */
 		else if (*p=='\n' && p+1<pend && SP(*(p+1))) p+=2;
 		else if (*p=='\r' && p+2<pend && *(p+1)=='\n' 
 					&& SP(*(p+2))) p+=3;
@@ -86,7 +86,7 @@ inline static int is_empty_end(char* p, char* pend )
 
 
 /*
- * Find a character occurence that is not quoted
+ * Find a character occurrence that is not quoted
  */
 inline static char* find_not_quoted(str* _s, char _c)
 {

+ 2 - 2
test/auto.c

@@ -2,7 +2,7 @@
 /* test program -> switch speed */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -420,7 +420,7 @@ int main(int argc, char** argv)
 								break;
 							case UNKNOWN_HEADER:
 							default:
-								/*printf("found unkown header, state=%d\n", 
+								/*printf("found unknown header, state=%d\n", 
 											state);*/
 								err=1;
 								state=INITIAL;

+ 1 - 1
test/dns_query.c

@@ -8,7 +8,7 @@
  *  (and first compile ser with qm_malloc)
  * 
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/file_copyright.txt

@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2001-2003 Fhg Fokus 
+ * Copyright (C) 2001-2004 FhG Fokus 
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
test/gethostbyaddr.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -94,7 +94,7 @@ int main(int argc, char** argv)
 	
 	he=gethostbyname(name);
 	if (he==0){
-			printf("bad adddress <%s>\n", name);
+			printf("bad address <%s>\n", name);
 			goto error;
 	}
 	he=gethostbyaddr(he->h_addr_list[0], he->h_length, he->h_addrtype); 

+ 1 - 1
test/gethostbyname.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/gplize.awk

@@ -28,7 +28,7 @@ status==1 {
 	}
 
 	print " *"
-	print " * Copyright (C) 2001-2003 Fhg Fokus"
+	print " * Copyright (C) 2001-2004 FhG Fokus"
 	print " *"
 	print " * This file is part of ser, a free SIP server."
 	print " *"

+ 2 - 2
test/ifls.c

@@ -3,7 +3,7 @@
  *
  * test programs, list all interfaces and their ip address
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -314,7 +314,7 @@ int main(int argc, char**argv)
 				break;
 			case '?':
 				if (isprint(optopt))
-					fprintf(stderr, "Unknow option `-%c´\n", optopt);
+					fprintf(stderr, "Unknown option `-%c´\n", optopt);
 				else
 					fprintf(stderr, "Unknown character `\\x%x´\n", optopt);
 				goto error;

+ 5 - 5
test/locking/locking_test.c

@@ -1,7 +1,7 @@
 /* $Id$ */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -231,14 +231,14 @@ int main (int argc, char** argv)
 	puts("Initializing SYS V semaphores\n");
 	semid=semget(IPC_PRIVATE,1,0700);
 	if(semid==-1){
-		fprintf(stderr, "ERROR: could not init sempahore: %s\n",
+		fprintf(stderr, "ERROR: could not init semaphore: %s\n",
 				strerror(errno));
 		goto error;
 	}
 	/*set init value to 1 (mutex)*/
 	su.val=1;
 	if (semctl(semid, 0, SETVAL, su)==-1){
-		fprintf(stderr, "ERROR: could not set initial sempahore value: %s\n",
+		fprintf(stderr, "ERROR: could not set initial semaphore value: %s\n",
 				strerror(errno));
 		semctl(semid, 0, IPC_RMID, (union semun)0);
 		goto error;
@@ -251,9 +251,9 @@ int main (int argc, char** argv)
 		goto error;
 	}
 #elif defined POSIX_SEM
-	puts("Initializing sempahores\n");
+	puts("Initializing semaphores\n");
 	if (sem_init(&sem, 0, 1)<0){
-		fprintf(stderr, "ERROR: could not initialize sempahore: %s\n",
+		fprintf(stderr, "ERROR: could not initialize semaphore: %s\n",
 				strerror(errno));
 		goto error;
 	}

+ 2 - 2
test/p_uri.c

@@ -724,7 +724,7 @@ int parse_uri(char* buf, int len, struct sip_uri* uri)
 						break;
 					case '?':
 						if (pass){
-							found_user=1; /* no user, pass cannot conaint '?'*/
+							found_user=1; /* no user, pass cannot contain '?'*/
 							pass=0;
 						}
 						break;
@@ -736,7 +736,7 @@ int parse_uri(char* buf, int len, struct sip_uri* uri)
 	}
 	/*end of uri */
 	switch (state){
-		case URI_INIT: /* error empy uri */
+		case URI_INIT: /* error empty uri */
 			goto error_too_short;
 		case URI_USER:
 			/* this is the host, it can't be the user */

+ 1 - 1
test/re_test.c

@@ -2,7 +2,7 @@
 /* $Id$ */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/resolver_test.c

@@ -1,7 +1,7 @@
 /* $Id$ */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 6 - 6
test/shoot.c

@@ -32,7 +32,7 @@ regex_t* regexp;
 /* take either a dot.decimal string of ip address or a 
 domain name and returns a NETWORK ordered long int containing
 the address. i chose to internally represent the address as long for speedier
-comparisions.
+comparisons.
 
 any changes to getaddress have to be patched back to the net library.
 contact: [email protected]
@@ -63,7 +63,7 @@ long getaddress(char *host)
 		dotcount++;
 	}
 
-	/* three dots with upto three digits in before, between and after ? */
+	/* three dots with up to three digits in before, between and after ? */
 	if (dotcount == 3 && i > 0 && i <= 3)
 		return inet_addr(host);
 
@@ -72,7 +72,7 @@ long getaddress(char *host)
 	 inspite of what the rfc2543 :D Using SRV DNS Records recommends,
 	 we are leaving it to the operating system to do the name caching.
 
-	 this is an important implementational issue especially in the light
+	 this is an important implementation issue especially in the light
 	 dynamic dns servers like dynip.com or dyndns.com where a dial
 	 ip address is dynamically assigned a sub domain like farhan.dynip.com
 
@@ -95,7 +95,7 @@ long getaddress(char *host)
 shoot:
 takes:
 	1. the text message of buff to 
-	2. the address (network orderd byte order)
+	2. the address (network ordered byte order)
 	3. and port (not network byte ordered).
 
 starting from half a second, times-out on replies and
@@ -199,7 +199,7 @@ void shoot(char *buff, long address, int lport, int rport )
 				retryAfter = 5000;
 			/* we should have retrieved the error code and displayed
 			we are not doing that because there is a great variation
-			in the process of retrieveing error codes between
+			in the process of retrieving error codes between
 			micro$oft and *nix world*/
 			continue;
 		} else if ( ret == -1 ) {
@@ -209,7 +209,7 @@ void shoot(char *buff, long address, int lport, int rport )
                  else if (FD_ISSET(ssock, &fd)) {
 			puts ("\nmessage received\n");
 		} else {
-			puts("\nselect returned succesfuly, nothing received\n");
+			puts("\nselect returned successfully, nothing received\n");
 			continue;
 		}
 

+ 6 - 6
test/shoot2.c

@@ -37,7 +37,7 @@ regex_t* regexp;
 /* take either a dot.decimal string of ip address or a 
 domain name and returns a NETWORK ordered long int containing
 the address. i chose to internally represent the address as long for speedier
-comparisions.
+comparisons.
 
 any changes to getaddress have to be patched back to the net library.
 contact: [email protected]
@@ -68,7 +68,7 @@ long getaddress(char *host)
 		dotcount++;
 	}
 
-	/* three dots with upto three digits in before, between and after ? */
+	/* three dots with up to three digits in before, between and after ? */
 	if (dotcount == 3 && i > 0 && i <= 3)
 		return inet_addr(host);
 
@@ -77,7 +77,7 @@ long getaddress(char *host)
 	 inspite of what the rfc2543 :D Using SRV DNS Records recommends,
 	 we are leaving it to the operating system to do the name caching.
 
-	 this is an important implementational issue especially in the light
+	 this is an important implementation issue especially in the light
 	 dynamic dns servers like dynip.com or dyndns.com where a dial
 	 ip address is dynamically assigned a sub domain like farhan.dynip.com
 
@@ -142,7 +142,7 @@ add_via(char *mes)
 shoot:
 takes:
 	1. the text message of buff to 
-	2. the address (network orderd byte order)
+	2. the address (network ordered byte order)
 	3. and port (not network byte ordered).
 
 starting from half a second, times-out on replies and
@@ -248,7 +248,7 @@ void shoot(char *buff, long address, int lport, int rport )
 				retryAfter = 5000;
 			/* we should have retrieved the error code and displayed
 			we are not doing that because there is a great variation
-			in the process of retrieveing error codes between
+			in the process of retrieving error codes between
 			micro$oft and *nix world*/
 			continue;
 		} else if ( ret == -1 ) {
@@ -258,7 +258,7 @@ void shoot(char *buff, long address, int lport, int rport )
                  else if (FD_ISSET(ssock, &fd)) {
 			puts ("\nmessage received\n");
 		} else {
-			puts("\nselect returned succesfuly, nothing received\n");
+			puts("\nselect returned successfully, nothing received\n");
 			continue;
 		}
 

+ 1 - 1
test/sock_conn.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/sock_disc.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/test.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 5 - 5
test/udp.c

@@ -1,7 +1,7 @@
 /*
  * $Id$
  *
- * Copyright (C) 2002-2003 Fhg Fokus
+ * Copyright (C) 2002-2003 FhG Fokus
  *
  * This file is sipsak, a free sip testing tool.
  *
@@ -15,7 +15,7 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -41,9 +41,9 @@
 
 
 /* sipsak written by nils ohlmeier ([email protected]).
-   based up on a modifyed version of shoot.
+   based up on a modified version of shoot.
    set DEBUG on compile will produce much more output. primarily
-   it will print out the sended and received messages before or after
+   it will print out the sent and received messages before or after
    every network action.
 */
 
@@ -158,7 +158,7 @@ void shoot()
 	}
 	printf("BSD compat: %d\n", bsd_compat);
 
-	/* here we go for the number of nretries which healily depends on the 
+	/* here we go for the number of nretries which heavily depends on the 
 	   mode */
 	for (i = 0; i <= nretries; i++)
 	{

+ 1 - 1
test/udp_flood.c

@@ -1,7 +1,7 @@
 /* $Id$ */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/udp_flood_disc.c

@@ -1,7 +1,7 @@
 /* $Id$ */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 1 - 1
test/udp_test_proxy.c

@@ -2,7 +2,7 @@
  * $Id$
  *
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *

+ 2 - 2
test/via_parse.c

@@ -2,7 +2,7 @@
 /* test program -> via parse */
 /*
  *
- * Copyright (C) 2001-2003 Fhg Fokus
+ * Copyright (C) 2001-2003 FhG Fokus
  *
  * This file is part of ser, a free SIP server.
  *
@@ -64,7 +64,7 @@ enum{	         F_SIP=100,
 		L_PROTO, F_PROTO, P_PROTO
 	};
 
-/* param realated states */
+/* param related states */
 enum{	L_VALUE=200,   F_VALUE, P_VALUE, P_STRING,
 		HIDDEN1,   HIDDEN2,   HIDDEN3,   HIDDEN4,   HIDDEN5,
 		TTL1,      TTL2,

Some files were not shown because too many files changed in this diff