This commit is contained in:
valeski%netscape.com 2000-08-03 07:00:14 +00:00
parent 0e504cfad6
commit e0c54d874a
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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;