[SR-Dev] git:master: pv: update for getbflagsval

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 28 20:47:45 CEST 2009


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Tue Apr 28 19:22:23 2009 +0200

pv: update for getbflagsval

---

 modules_k/pv/pv_core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules_k/pv/pv_core.c b/modules_k/pv/pv_core.c
index ead4e78..0203920 100644
--- a/modules_k/pv/pv_core.c
+++ b/modules_k/pv/pv_core.c
@@ -483,7 +483,7 @@ int pv_get_bflags(struct sip_msg *msg, pv_param_t *param,
 		pv_value_t *res)
 {
 	flag_t flags;
-	if (getbflags(&flags, 0) < 0) {
+	if (getbflagsval(0, &flags) < 0) {
 		ERR("pv_get_bflags: Error while obtainig values of branch flags\n");
 		return -1;
 	}
@@ -498,7 +498,7 @@ int pv_get_hexbflags(struct sip_msg *msg, pv_param_t *param,
 	if(res==NULL)
 		return -1;
 
-	if (getbflags(&flags, 0) < 0) {
+	if (getbflagsval(0, &flags) < 0) {
 		ERR("pv_get_hexbflags: Error while obtaining values of branch flags\n");
 		return -1;
 	}




More information about the sr-dev mailing list