From 665f0c15010670233f3d85b9b0b0e6da6f35e878 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 15 Aug 2010 14:25:20 +0300 Subject: modified: messages.cpp modified: new_gpg.rc modified: options.cpp --- messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'messages.cpp') 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(); -- cgit v1.2.3