summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-15 14:25:20 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-15 14:25:20 +0300
commit665f0c15010670233f3d85b9b0b0e6da6f35e878 (patch)
treef1b81a3f8ddbd5cdf63a16ed85708ef6e2d7754a /messages.cpp
parent42ebe72ad21b311347a01eae93374f883cb4b3c9 (diff)
modified: messages.cpp
modified: new_gpg.rc modified: options.cpp
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/messages.cpp b/messages.cpp
index 7e2a2fb..ec612fe 100644
--- a/messages.cpp
+++ b/messages.cpp
@@ -231,7 +231,6 @@ int SendMsgSvc(WPARAM w, LPARAM l)
return CallService(MS_PROTO_CHAINSEND, w, l);
}
//MessageBoxA(0, out.c_str(), "out", MB_OK);
- DeleteFile(path.c_str());
if(out.find("There is no assurance this key belongs to the named user") != string::npos)
{
out.clear();
@@ -246,8 +245,9 @@ int SendMsgSvc(WPARAM w, LPARAM l)
}
}
else
- return CallService(MS_PROTO_CHAINSEND, w, l);
+ return 0;
}
+ DeleteFile(path.c_str());
path.append(_T(".asc"));
wfstream f(path.c_str(), std::ios::in);
str.clear();