mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
cleanup
This commit is contained in:
parent
0e504cfad6
commit
e0c54d874a
@ -28,7 +28,6 @@
|
||||
#include "nsString.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include "nsFileStream.h"
|
||||
#include "nsIFileLocator.h"
|
||||
#include "nsIFileSpec.h"
|
||||
#include "nsFileLocations.h"
|
||||
#include "nsINetSupportDialogService.h"
|
||||
|
@ -20,7 +20,10 @@
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
#ifdef DEBUG_dp
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "nsCookieHTTPNotify.h"
|
||||
#include "nsIGenericFactory.h"
|
||||
#include "nsIHTTPChannel.h"
|
||||
@ -206,7 +209,7 @@ nsCookieHTTPNotify::AsyncExamineResponse(nsISupports *aContext)
|
||||
nsXPIDLCString cookieHeader;
|
||||
rv = pHTTPConnection->GetResponseHeader(mSetCookieHeader, getter_Copies(cookieHeader));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
if (!cookieHeader) return NS_ERROR_OUT_OF_MEMORY;
|
||||
if (!cookieHeader) return NS_OK; // not an error, there's just no header.
|
||||
|
||||
// Get the url
|
||||
nsCOMPtr<nsIURI> pURL;
|
||||
|
Loading…
Reference in New Issue
Block a user