[sr-dev] git:master: * Commented out warning about deprecated avp name syntax. I suggest to

Juha Heinanen jh at tutpro.com
Tue Jun 2 10:24:02 CEST 2009


Module: sip-router
Branch: master
Commit: 94cd6af2a0ba0deb82851983f97bb52cf2e152e1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=94cd6af2a0ba0deb82851983f97bb52cf2e152e1

Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date:   Tue Jun  2 11:17:54 2009 +0300

* Commented out warning about deprecated avp name syntax.  I suggest to
  uncomment it, when sip-router itself doesn't anymore depend on integer
  named AVPs and it is truly possible to get rid of them.

---

 usr_avp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr_avp.c b/usr_avp.c
index 17d4cc9..6c06721 100644
--- a/usr_avp.c
+++ b/usr_avp.c
@@ -879,7 +879,7 @@ int parse_avp_ident( str *name, avp_ident_t* attr)
 	attr->index = 0;
 	DBG("Parsing '%.*s'\n", name->len, name->s);
 	if (name->len>=2 && name->s[1]==':') { /* old fashion i: or s: */
-		WARN("i: and s: avp name syntax is deprecated!\n");
+	        /* WARN("i: and s: avp name syntax is deprecated!\n"); */
 		c = name->s[0];
 		name->s += 2;
 		name->len -= 2;




More information about the sr-dev mailing list