summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-09 16:39:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-09 16:39:35 +0300
commit9308a02b082c6bf6c9b796df8051eff8447f979f (patch)
tree0a814f848fcfaa3873327bd71c61905a492c3653 /protocols/ICQ-WIM
parentb0e95185fa4295d2a52c2b00d9da2291e28746b2 (diff)
more for #3478
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index de1f05f3f3..c0e711e48b 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -459,7 +459,7 @@ HANDLE CIcqProto::SendFile(MCONTACT hContact, const wchar_t *szDescription, wcha
continue;
}
- int iFileId = _wopen(ppszFiles[0], _O_RDONLY | _O_BINARY, _S_IREAD);
+ int iFileId = _wopen(ppszFiles[i], _O_RDONLY | _O_BINARY, _S_IREAD);
if (iFileId < 0)
continue;