mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
fixing an ftp crasher
This commit is contained in:
parent
db481dee5e
commit
8d8b9baa71
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user