ddeml: Don't trash 'cb' field of structure returned by DdeQueryConvInfo16() (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Nikolay Sivov 2015-11-22 22:55:52 +03:00 committed by Alexandre Julliard
parent bd9701add8
commit b22d4e4588
1 changed files with 1 additions and 0 deletions

View File

@ -496,6 +496,7 @@ UINT16 WINAPI DdeQueryConvInfo16(HCONV hConv, DWORD idTransaction,
ret = DdeQueryConvInfo(hConv, idTransaction, &ci32);
if (ret == 0) return 0;
ci16.cb = lpConvInfo->cb;
ci16.hUser = ci32.hUser;
ci16.hConvPartner = ci32.hConvPartner;
ci16.hszSvcPartner = ci32.hszSvcPartner;