From 9308a02b082c6bf6c9b796df8051eff8447f979f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 9 Apr 2023 16:39:35 +0300 Subject: more for #3478 --- protocols/ICQ-WIM/src/proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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; -- cgit v1.2.3