Don't crash if BindToStorage fails.

This commit is contained in:
Alexandre Julliard 2005-11-15 16:54:13 +00:00
parent dbc8f877fc
commit dfc8305918
1 changed files with 2 additions and 0 deletions

View File

@ -633,6 +633,8 @@ static void test_BindToStorage(void)
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
ok(SUCCEEDED(hres), "IMoniker_BindToStorage failed: %08lx\n", hres);
if (!SUCCEEDED(hres)) return;
if(test_protocol == HTTP_TEST) {
todo_wine {
ok(unk == NULL, "istr should be NULL\n");