taking a crack at some ports bustage. r=pnunn

git-svn-id: svn://10.0.0.236/trunk@52416 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dveditz%netscape.com
1999-11-01 21:35:50 +00:00
parent 9dd7ffd0ef
commit 5ed2cd7fa7

View File

@@ -1026,7 +1026,7 @@ IL_StreamFirstWrite(il_container *ic, const unsigned char *str, int32 len)
char contenttype[50];
if(sniffout_mimetype((const char*) str, len, contenttype)){
// data type understood by mime sniffer
if(int ret = nsCRT::strcmp(contenttype, ic->type) != 0){
if(nsCRT::strcmp(contenttype, ic->type) != 0){
//what the sniff saw and what the mime header said is
//different. We'll believe the data from the sniffer
nsCRT::free(ic->type);