summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/samples/simpleua.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-03-17 16:05:35 +0000
committerBenny Prijono <bennylp@teluu.com>2008-03-17 16:05:35 +0000
commit0e602ccdd09d4e09556b93dbdd63841865d08388 (patch)
tree469548248ae7c70d6e2c7284b5ac2725efd0b95c /pjsip-apps/src/samples/simpleua.c
parentdf316c166181fd58ebc4efad3d4a2f5bfdf86e9e (diff)
More ticket #479: bug in pjmedia_transport_get_info(), the info should be initialized by caller
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1873 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/samples/simpleua.c')
-rw-r--r--pjsip-apps/src/samples/simpleua.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pjsip-apps/src/samples/simpleua.c b/pjsip-apps/src/samples/simpleua.c
index 634bc539..4e9d3954 100644
--- a/pjsip-apps/src/samples/simpleua.c
+++ b/pjsip-apps/src/samples/simpleua.c
@@ -301,6 +301,7 @@ int main(int argc, char *argv[])
* need this info to create SDP (i.e. the address and port info in
* the SDP).
*/
+ pjmedia_transport_info_init(&g_med_tpinfo);
pjmedia_transport_get_info(g_med_transport, &g_med_tpinfo);