Module: wine Branch: master Commit: 36dae82a68de27eb61310247e03c10da6efa49ef URL: http://source.winehq.org/git/wine.git/?a=commit;h=36dae82a68de27eb61310247e0...
Author: Rob Shearman robertshearman@gmail.com Date: Mon Nov 16 14:37:14 2009 +0000
msdaps: Clear *pcPropertySets value in IDBProperties_GetProperties_Stub to fix a test.
---
dlls/msdaps/usrmarshal.c | 1 + dlls/oledb32/tests/marshal.c | 1 - 2 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index 8e15862..0624c3a 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -122,6 +122,7 @@ HRESULT __RPC_STUB IDBProperties_GetProperties_Stub(IDBProperties* This, ULONG c
TRACE("(%p, %d, %p, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets, ppErrorInfoRem); + *pcPropertySets = 0; *ppErrorInfoRem = NULL; hr = IDBProperties_GetProperties(This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets, prgPropertySets); diff --git a/dlls/oledb32/tests/marshal.c b/dlls/oledb32/tests/marshal.c index 587b8b6..39d8448 100644 --- a/dlls/oledb32/tests/marshal.c +++ b/dlls/oledb32/tests/marshal.c @@ -165,7 +165,6 @@ static HRESULT WINAPI Test_DBProperties_GetProperties( DBPROPSET **prgPropertySets) { ok(cPropertyIDSets == 0, "Expected cPropertyIDSets to be 0 instead of %d\n", cPropertyIDSets); - todo_wine ok(*pcPropertySets == 0, "Expected *pcPropertySets to be 0 instead of %d\n", *pcPropertySets); *pcPropertySets = 1; *prgPropertySets = CoTaskMemAlloc(sizeof(DBPROPSET));