diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-07-30 19:45:10 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-07-30 19:45:10 +0000 |
commit | 7b8e651926a716725b35b2d22b78725c4a1a3945 (patch) | |
tree | 2762c1213a2c648b943c435f8c5b19d537d654a3 /pjsip | |
parent | 83cc98b4d094d0525fcee91aa0cd51228691dfce (diff) |
Ticket #927: PIDF timestamp is not added to the tuple (thanks Johan Lantz for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2848 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/src/pjsip-simple/pidf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip/src/pjsip-simple/pidf.c b/pjsip/src/pjsip-simple/pidf.c index e1e371b0..9d35f96e 100644 --- a/pjsip/src/pjsip-simple/pidf.c +++ b/pjsip/src/pjsip-simple/pidf.c @@ -290,6 +290,7 @@ PJ_DEF(void) pjpidf_tuple_set_timestamp(pj_pool_t *pool, pjpidf_tuple *t, if (!node) { node = PJ_POOL_ALLOC_T(pool, pj_xml_node); xml_init_node(pool, node, &TIMESTAMP, ts); + pj_xml_add_node(t, node); } else { pj_strdup(pool, &node->content, ts); } |