diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-24 22:23:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-24 22:23:49 +0300 |
commit | b60702aa86920ec25f9b700181b153d5fa41cb08 (patch) | |
tree | f7023f262e01830d2f8dc95e2167fbe05ec0b23b /protocols | |
parent | 8ebf21e565886d2629ba2ad5b74466879c529c3e (diff) |
minor code cleaning
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index 47a1c0cdb3..15a63952a4 100755 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -847,7 +847,6 @@ HANDLE CJabberProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, w if (jid == nullptr)
return nullptr;
- struct _stati64 statbuf;
JABBER_LIST_ITEM *item = ListGetItemPtr(LIST_ROSTER, jid);
if (item == nullptr)
return nullptr;
@@ -893,6 +892,7 @@ HANDLE CJabberProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, w int i, j;
for (i = j = 0; i < ft->std.totalFiles; i++) {
+ struct _stati64 statbuf;
if (_wstat64(ppszFiles[i], &statbuf))
debugLogW(L"'%s' is an invalid filename", ppszFiles[i]);
else {
|