Skip to content

Commit

Permalink
fixed error with miss password
Browse files Browse the repository at this point in the history
  • Loading branch information
rusdevops committed Sep 25, 2017
1 parent 94d28a6 commit af4ed57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipper/zipper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ namespace zipper {

bool Zipper::add(std::istream& source, const std::string& nameInZip, zipFlags flags)
{
return m_impl->add(source, nameInZip, "", flags);
return m_impl->add(source, nameInZip, m_password, flags);
}

bool Zipper::add(const std::string& fileOrFolderPath, zipFlags flags)
Expand Down

0 comments on commit af4ed57

Please sign in to comment.