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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user