summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-11-10 01:45:54 +0200
committerGluzskiy Alexandr <sss123next@list.ru>2010-11-10 01:45:54 +0200
commitf08961f1a4193c49353e8610d557c07c50f6fb67 (patch)
treec6d34ff934b172ee4c327559aebe9971d3ef28ce
parent8978ac1fbb26efc1a4c4099e47d5daeaa054043c (diff)
modified: new_gpg.sln
modified: utilities.cpp
-rw-r--r--new_gpg.sln2
-rw-r--r--utilities.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/new_gpg.sln b/new_gpg.sln
index 9d68c4c..f3f75d2 100644
--- a/new_gpg.sln
+++ b/new_gpg.sln
@@ -29,7 +29,7 @@ Global
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug(service)|Win32.ActiveCfg = Debug(service)|x64
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug(service)|x64.ActiveCfg = Debug(service)|x64
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug(service)|x64.Build.0 = Debug(service)|x64
- {F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug|Win32.ActiveCfg = Debug|x64
+ {F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug|Win32.ActiveCfg = Debug|Win32
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug|x64.ActiveCfg = Debug|x64
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Debug|x64.Build.0 = Debug|x64
{F29D0C8D-141A-43CF-86B2-34A04653F8D4}.Release Unicode (service only)(static)|Win32.ActiveCfg = Release Unicode (service only)(static)|x64
diff --git a/utilities.cpp b/utilities.cpp
index 619cded..4f594cb 100644
--- a/utilities.cpp
+++ b/utilities.cpp
@@ -280,8 +280,8 @@ int onProtoAck(WPARAM w, LPARAM l)
if (ack->type!=ACKTYPE_FILE)
return 0;
PROTOFILETRANSFERSTATUS *f = (PROTOFILETRANSFERSTATUS*) ack->lParam;
- if(!f)
- f = (PROTOFILETRANSFERSTATUS*) ack->hProcess;
+// if(!f)
+// f = (PROTOFILETRANSFERSTATUS*) ack->hProcess;
if(!f)
return 0;
@@ -292,9 +292,9 @@ int onProtoAck(WPARAM w, LPARAM l)
case ACKRESULT_SUCCESS:
{
TCHAR *filename = NULL;
- if(f->szCurrentFile && f->szCurrentFile[0])
- filename = mir_utf8decodeW(f->szCurrentFile);
- else if(f->tszCurrentFile && f->tszCurrentFile[0])
+// if(f->szCurrentFile && f->szCurrentFile[0])
+// filename = mir_utf8decodeW(f->szCurrentFile);
+ if(f->tszCurrentFile && f->tszCurrentFile[0])
filename = mir_wstrdup(f->tszCurrentFile);
if(!filename)
break;