diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-28 02:58:17 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-28 02:58:17 +0300 |
commit | 2a5e050f97db89343aacc773b6588a17dbd1a2c7 (patch) | |
tree | 2d1789df9ca6ff72069c36a26830cff26b724f2d | |
parent | 072e6741acb7323279beaf516107a5d09d91cf09 (diff) |
modified: utilities.cpp
-rwxr-xr-x | utilities.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utilities.cpp b/utilities.cpp index af4eb3b..1353ae0 100755 --- a/utilities.cpp +++ b/utilities.cpp @@ -1487,10 +1487,12 @@ int ImportGpGKeys(WPARAM w, LPARAM l) return 1; //TODO: handle error std::string key, login, contact; key += line; + key += '\n'; while(file.is_open()) { file.getline(line, 255); key += line; + key += '\n'; if(strstr(line, "-----END PGP PUBLIC KEY BLOCK-----")) { //TODO: parse key key.clear(); |