Bug 686558 - Get rid of gcc warning about "enumeral mismatch" in nsNetUtil.h. r=bz

This commit is contained in:
Jason Duell 2011-09-13 15:15:28 -07:00
Родитель 22ef9265fe
Коммит 254e534d0f
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -1946,9 +1946,9 @@ NS_GetContentDispositionFromHeader(const nsACString& aHeader, nsIChannel *aChan
if (NS_FAILED(rv)) { if (NS_FAILED(rv)) {
// special case (see bug 272541): empty disposition type handled as "inline" // special case (see bug 272541): empty disposition type handled as "inline"
return rv == NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY if (rv == NS_ERROR_FIRST_HEADER_FIELD_COMPONENT_EMPTY)
? nsIChannel::DISPOSITION_INLINE return nsIChannel::DISPOSITION_INLINE;
: nsIChannel::DISPOSITION_ATTACHMENT; return nsIChannel::DISPOSITION_ATTACHMENT;
} }
return NS_GetContentDispositionFromToken(dispToken); return NS_GetContentDispositionFromToken(dispToken);