]> git.sesse.net Git - vlc/blobdiff - modules/access/http.c
- TLS API cleanup
[vlc] / modules / access / http.c
index 9adde3d245d8405fc787b1a87ef2231aee3f2b45..2371e5aa289cb7d8a0be3e19bccfee11707f5861 100644 (file)
@@ -860,7 +860,7 @@ static int Connect( access_t *p_access, int64_t i_tell )
             return VLC_EGENERIC;
         }
 
-        p_sys->p_tls = tls_ClientCreate( VLC_OBJECT(p_access), NULL, p_sys->fd );
+        p_sys->p_tls = tls_ClientCreate( VLC_OBJECT(p_access), p_sys->fd, NULL );
         if( p_sys->p_tls == NULL )
         {
             msg_Err( p_access, "cannot establish HTTP/SSL session" );