summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_filetransfer.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-14 19:26:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-14 19:26:22 +0000
commitb47323e12660e2e96dac515f609f0778225a4536 (patch)
tree86f1c149af616d247e293576c18176e9bae02d8a /protocols/IcqOscarJ/src/icq_filetransfer.cpp
parent967c43ea2061ddd25e69927780e534ac93ce576a (diff)
ICQ: warning level 4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_filetransfer.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_filetransfer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/src/icq_filetransfer.cpp b/protocols/IcqOscarJ/src/icq_filetransfer.cpp
index 6afa3fef6f..54b11af724 100644
--- a/protocols/IcqOscarJ/src/icq_filetransfer.cpp
+++ b/protocols/IcqOscarJ/src/icq_filetransfer.cpp
@@ -233,6 +233,9 @@ void CIcqProto::icq_sendFileResume(filetransfer *ft, int action, const char *szF
ft->szThisFile = null_strdup(szFilename);
ft->dwFileBytesDone = 0;
break;
+
+ default:
+ openFlags = 0;
}
ft->fileId = OpenFileUtf(ft->szThisFile, openFlags, _S_IREAD | _S_IWRITE);