fixing an ftp crasher

This commit is contained in:
valeski%netscape.com 1999-09-02 03:30:04 +00:00
parent db481dee5e
commit 8d8b9baa71

View File

@ -117,7 +117,7 @@ nsFTPChannel::Init(const char* verb, nsIURI* uri, nsILoadGroup *aGroup,
NS_IF_ADDREF(mLoadGroup);
if (getter) {
nsIProgressEventSink* eventSink;
nsIProgressEventSink* eventSink = nsnull;
rv = getter->GetEventSink(verb, nsCOMTypeInfo<nsIProgressEventSink>::GetIID(),
(nsISupports**)&eventSink);
if (NS_FAILED(rv)) {