* or the user will be promted for them via AuthenticationReport callback.
*
* \note The implementation currently serves both, "smb" and
- * and "cifs" URL's, but passes "cifs" to the mount command
+ * and "cifs" URLs, but passes "cifs" to the mount command
* in any case.
*/
void MediaCIFS::attachTo(bool next)
return;
}
- std::string mountpoint = attachPoint().asString();
- if( !isUseableAttachPoint(attachPoint()))
+ if( !isUseableAttachPoint( attachPoint() ) )
{
- mountpoint = createAttachPoint().asString();
- if( mountpoint.empty())
- ZYPP_THROW( MediaBadAttachPointException(url()));
- setAttachPoint( mountpoint, true);
+ setAttachPoint( createAttachPoint(), true );
}
+ std::string mountpoint( attachPoint().asString() );
Mount mount;
CredentialManager cm;
//
// DESCRIPTION : Asserted that media is attached.
//
- void MediaCIFS::getFile (const Pathname & filename, const ByteCount &expectedFileSize_r) const
+ void MediaCIFS::getFile (const Pathname & filename) const
{
- MediaHandler::getFile( filename, expectedFileSize_r );
+ MediaHandler::getFile( filename );
}
///////////////////////////////////////////////////////////////////