Module: sip-router
Branch: master
Commit: e1c6eafe29973a05f9f9358efbac9bf6be16a92d
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e1c6eaf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Oct 31 11:43:28 2011 +0100
parser/sdp: updated parse_sdp() description
- reflect properly return codes
---
parser/sdp/sdp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index 6d53ab9..6a635f8 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -670,10 +670,10 @@ static int parse_mixed_content(str *mixed_body, str delimiter,
sdp_info_t* _sdp)
}
/**
- * Parse SDP.
+ * @brief Parse SIP SDP body and store in _m->body.
*
- * returns 0 on success.
- * non zero on error.
+ * @param _m the SIP message structure
+ * @return 0 on success, < 0 on error and 1 if there is no message body
*/
int parse_sdp(struct sip_msg* _m)
{