Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- return E_POINTER if cookie is NULL
dlls/oledb32/rowpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oledb32/rowpos.c b/dlls/oledb32/rowpos.c index 46904d3da5..c922f93f90 100644 --- a/dlls/oledb32/rowpos.c +++ b/dlls/oledb32/rowpos.c @@ -416,7 +416,7 @@ static HRESULT WINAPI rowpos_cp_Advise(IConnectionPoint *iface, IUnknown *unksin }
This->sinks[i] = sink; - if (cookie) *cookie = i + 1; + *cookie = i + 1;
return S_OK; }