[vlc-commits] securetransport: fix compilation

Rémi Denis-Courmont git at videolan.org
Wed Jan 20 00:03:39 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 20 01:03:21 2016 +0200| [f13c172e4c9b7b8db2f314dbdd9c18635e01b51e] | committer: Rémi Denis-Courmont

securetransport: fix compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f13c172e4c9b7b8db2f314dbdd9c18635e01b51e
---

 modules/misc/securetransport.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/misc/securetransport.c b/modules/misc/securetransport.c
index 38627d3..a313ce2 100644
--- a/modules/misc/securetransport.c
+++ b/modules/misc/securetransport.c
@@ -708,7 +708,7 @@ static int st_ServerSessionOpen (vlc_tls_creds_t *crd, vlc_tls_t *tls,
         goto error;
     }
 
-    vlc_tls_sys_t *sys = session->sys;
+    vlc_tls_sys_t *sys = tls->sys;
     vlc_tls_creds_sys_t *p_cred_sys = crd->sys;
     sys->b_server_mode = true;
 
@@ -721,8 +721,8 @@ static int st_ServerSessionOpen (vlc_tls_creds_t *crd, vlc_tls_t *tls,
     return VLC_SUCCESS;
 
 error:
-    st_SessionShutdown(session, true);
-    st_SessionClose(session);
+    st_SessionShutdown(tls, true);
+    st_SessionClose(tls);
     return VLC_EGENERIC;
 }
 



More information about the vlc-commits mailing list