IRIX bustage - more CRLF - NOT dougt :)

git-svn-id: svn://10.0.0.236/trunk@95264 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkaply%us.ibm.com 2001-05-17 18:18:32 +00:00
parent a123f793fd
commit 9285847d02
2 changed files with 6 additions and 6 deletions

View File

@ -1618,9 +1618,9 @@ nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIRequest *request,
// get Last-Modified header for plugin info
if (httpChannel)
{
char * lastModified = nsnull;
if (NS_SUCCEEDED(httpChannel->GetResponseHeader("last-modified", &lastModified)) &&
lastModified)
char * lastModified = nsnull;
if (NS_SUCCEEDED(httpChannel->GetResponseHeader("last-modified", &lastModified)) &&
lastModified)
{
PRTime time64;
PR_ParseTimeString(lastModified, PR_TRUE, &time64); //convert string time to interger time

View File

@ -1618,9 +1618,9 @@ nsresult nsPluginStreamListenerPeer::SetUpStreamListener(nsIRequest *request,
// get Last-Modified header for plugin info
if (httpChannel)
{
char * lastModified = nsnull;
if (NS_SUCCEEDED(httpChannel->GetResponseHeader("last-modified", &lastModified)) &&
lastModified)
char * lastModified = nsnull;
if (NS_SUCCEEDED(httpChannel->GetResponseHeader("last-modified", &lastModified)) &&
lastModified)
{
PRTime time64;
PR_ParseTimeString(lastModified, PR_TRUE, &time64); //convert string time to interger time