diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-14 19:40:31 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-14 19:40:31 +0000 |
commit | dab02845fea8031dd3d7864dc1efc211a434f969 (patch) | |
tree | 5106120c4f64fbf518f57a963f5c7aec6eb19363 /src/core/stdfile/filerecvdlg.cpp | |
parent | 60df08c2f6194702ec180c2d2adf20d3675edae1 (diff) |
- code cleaning
- sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@975 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile/filerecvdlg.cpp')
-rw-r--r-- | src/core/stdfile/filerecvdlg.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/stdfile/filerecvdlg.cpp b/src/core/stdfile/filerecvdlg.cpp index 33a27d80ff..31d534e232 100644 --- a/src/core/stdfile/filerecvdlg.cpp +++ b/src/core/stdfile/filerecvdlg.cpp @@ -275,11 +275,10 @@ INT_PTR CALLBACK DlgProcRecvFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l {
char* szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)dat->hContact, 0);
if (szProto) {
- CONTACTINFO ci;
int hasName = 0;
char buf[128];
- ZeroMemory(&ci, sizeof(ci));
+ CONTACTINFO ci = { 0 };
ci.cbSize = sizeof(ci);
ci.hContact = dat->hContact;
ci.szProto = szProto;
|