]> git.sesse.net Git - vlc/commitdiff
smb.c: this is a useless patch, why did i apply it in the first place !
authorDamien Fouilleul <damienf@videolan.org>
Tue, 28 Aug 2007 16:53:39 +0000 (16:53 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Tue, 28 Aug 2007 16:53:39 +0000 (16:53 +0000)
modules/access/smb.c

index 72b85367e300842c5cf09d5040c3f6008f614d09..42a66082cd91b09b75667acbc41fbff753e2c265 100644 (file)
@@ -226,7 +226,7 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-    if( !(p_file = (p_smb->open)( p_smb, psz_uri, O_RDONLY, 0 )) )
+    if( !(p_file = p_smb->open( p_smb, psz_uri, O_RDONLY, 0 )) )
     {
         msg_Err( p_access, "open failed for '%s' (%s)",
                  p_access->psz_path, strerror(errno) );
@@ -251,7 +251,7 @@ static int Open( vlc_object_t *p_this )
     }
 #endif
 
-    if( (i_smb = (smbc_open)( psz_uri, O_RDONLY, 0 )) < 0 )
+    if( (i_smb = smbc_open( psz_uri, O_RDONLY, 0 )) < 0 )
     {
         msg_Err( p_access, "open failed for '%s' (%s)",
                  p_access->psz_path, strerror(errno) );