Module: sip-router
Branch: master
Commit: 33e4b20ffeb6a26f49080f701dc03e35498ac221
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=33e4b20…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jun 9 12:02:22 2009 +0300
htable: replace PV_NAME_PVAR with PV_NAME_OTHER
- forgotten to be updated when PV_NAME_OTHER was introduced to get rid
of PVAR type hack
- name of $sht is a custom structure, not a PV
- reported by Christian Koch
---
modules_k/htable/ht_var.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/htable/ht_var.c b/modules_k/htable/ht_var.c
index 3f7ecba..4cc0808 100644
--- a/modules_k/htable/ht_var.c
+++ b/modules_k/htable/ht_var.c
@@ -163,7 +163,7 @@ int pv_parse_ht_name(pv_spec_p sp, str *in)
}
hpv->ht = ht_get_table(&hpv->htname);
sp->pvp.pvn.u.dname = (void*)hpv;
- sp->pvp.pvn.type = PV_NAME_PVAR;
+ sp->pvp.pvn.type = PV_NAME_OTHER;
return 0;
error: