Skip to content

Commit

Permalink
Code review clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
V N committed Nov 13, 2021
1 parent 408733e commit ed58d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preferences/credentials.cpp
Expand Up @@ -233,7 +233,7 @@ namespace preferences
filesystem::delete_file(filesystem::get_credentials_file());
return;
}
secure_buffer credentials_data(0, CREDENTIAL_SEPARATOR);
secure_buffer credentials_data;
for(const auto& cred : credentials) {
credentials_data.push_back(CREDENTIAL_SEPARATOR);
credentials_data.insert(credentials_data.end(), cred.username.begin(), cred.username.end());
Expand Down

0 comments on commit ed58d05

Please sign in to comment.