/* Build an SMB URI
* smb://[[[domain;]user[:password@]]server[/share[/path[/file]]]] */
- if( !psz_user ) psz_user = var_CreateGetString( p_access, "smb-user" );
+ if( !psz_user ) psz_user = var_InheritString( p_access, "smb-user" );
if( psz_user && !*psz_user ) { free( psz_user ); psz_user = NULL; }
- if( !psz_pwd ) psz_pwd = var_CreateGetString( p_access, "smb-pwd" );
+ if( !psz_pwd ) psz_pwd = var_InheritString( p_access, "smb-pwd" );
if( psz_pwd && !*psz_pwd ) { free( psz_pwd ); psz_pwd = NULL; }
- if( !psz_domain ) psz_domain = var_CreateGetString( p_access, "smb-domain" );
+ if( !psz_domain ) psz_domain = var_InheritString( p_access, "smb-domain" );
if( psz_domain && !*psz_domain ) { free( psz_domain ); psz_domain = NULL; }
#ifdef WIN32
case ACCESS_GET_PTS_DELAY:
*va_arg( args, int64_t * )
- = (int64_t)var_GetInteger( p_access, "smb-caching" ) * 1000;
+ = var_GetInteger( p_access, "smb-caching" ) * 1000;
break;
case ACCESS_SET_PAUSE_STATE: