[sr-dev] git:master:59538b66: core: parser - fix comment typo [skip ci]

Mikko Lehto mslehto at iki.fi
Wed Jun 21 20:41:33 CEST 2017


Module: kamailio
Branch: master
Commit: 59538b66e8b8f17512b3f73c160e5de734a85a8e
URL: https://github.com/kamailio/kamailio/commit/59538b66e8b8f17512b3f73c160e5de734a85a8e

Author: Mikko Lehto <mslehto at iki.fi>
Committer: Mikko Lehto <mslehto at iki.fi>
Date: 2017-06-21T21:40:03+03:00

core: parser - fix comment typo [skip ci]

---

Modified: src/core/parser/parse_param.c
Modified: src/core/parser/parse_param.h

---

Diff:  https://github.com/kamailio/kamailio/commit/59538b66e8b8f17512b3f73c160e5de734a85a8e.diff
Patch: https://github.com/kamailio/kamailio/commit/59538b66e8b8f17512b3f73c160e5de734a85a8e.patch

---

diff --git a/src/core/parser/parse_param.c b/src/core/parser/parse_param.c
index 31b14c8835..336bf88a8a 100644
--- a/src/core/parser/parse_param.c
+++ b/src/core/parser/parse_param.c
@@ -460,7 +460,7 @@ static inline int parse_param_body(str *_s, param_t *_c, char separator)
  * 	t: out parameter
  * 	-1: on error
  * 	0: success, but expect a next paramter
- * 	1: success and exepect no more parameters
+ * 	1: success and expect no more parameters
  */
 static inline int parse_param2(
 		str *_s, pclass_t _c, param_hooks_t *_h, param_t *t, char separator)
@@ -533,7 +533,7 @@ static inline int parse_param2(
  * 	t: out parameter
  * 	-1: on error
  * 	0: success, but expect a next paramter
- * 	1: success and exepect no more parameters
+ * 	1: success and expect no more parameters
  */
 int parse_param(str *_s, pclass_t _c, param_hooks_t *_h, param_t *t)
 {
diff --git a/src/core/parser/parse_param.h b/src/core/parser/parse_param.h
index 5622df998e..1007358125 100644
--- a/src/core/parser/parse_param.h
+++ b/src/core/parser/parse_param.h
@@ -141,7 +141,7 @@ typedef union param_hooks {
  * 	t: out parameter
  * 	-1: on error
  * 	0: success, but expect a next paramter
- * 	1: success and exepect no more parameters
+ * 	1: success and expect no more parameters
  */
 extern int parse_param(str *_s, pclass_t _c, param_hooks_t *_h, param_t *t);
 




More information about the sr-dev mailing list