Module: kamailio
Branch: master
Commit: 965fce08ecb94b3303c46c4b5d22dfe09e2cf4a7
URL: 
https://github.com/kamailio/kamailio/commit/965fce08ecb94b3303c46c4b5d22dfe09e2cf4a7

Author: Xenofon Karamanos <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2026-01-26T13:21:57+01:00

core: Fix brief doc for parse_methods

---

Modified: src/core/parser/parse_methods.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/965fce08ecb94b3303c46c4b5d22dfe09e2cf4a7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/965fce08ecb94b3303c46c4b5d22dfe09e2cf4a7.patch

---

diff --git a/src/core/parser/parse_methods.h b/src/core/parser/parse_methods.h
index ee7c99fa43b..760b05184bb 100644
--- a/src/core/parser/parse_methods.h
+++ b/src/core/parser/parse_methods.h
@@ -37,7 +37,7 @@
 
 /*
  * Parse comma separated list of methods pointed by _body and assign their
- * enum bits to _methods.  Returns 1 on success and 0 on failure.
+ * enum bits to _methods.  Returns 0 on success and -1 on failure.
  */
 int parse_methods(const str *const _body, unsigned int *const _methods);
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to