Fix for 2107.

git-svn-id: svn://10.0.0.236/trunk@18590 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gagan%netscape.com
1999-01-26 07:23:51 +00:00
parent 00c1047430
commit ab193e013b

View File

@@ -424,7 +424,7 @@ void FE_SetRefreshURLTimer(MWContext *pContext, URL_Struct *URL_s)
nsISupports* container;
rv = pConn->pURL->GetContainer(&container);
if (rv == NS_OK) {
if (container && (rv == NS_OK)) {
rv = container->QueryInterface(kRefreshURLIID, (void**)&IRefreshURL);
if(NS_SUCCEEDED(rv)) {
nsIURL* newURL;