Changing this to use the TEXT_PLAIN define instead of the string

"text/plain".  r=shaver, a=waterson.
This commit is contained in:
bryner%uiuc.edu 2000-02-23 06:53:46 +00:00
parent 60daa8a8d1
commit 4cac20b614
2 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,7 @@
#include "nsXPIDLString.h"
#include "nsISocketTransportService.h"
#include "nsIStringStream.h"
#include "nsMimeTypes.h"
static NS_DEFINE_CID(kSocketTransportServiceCID, NS_SOCKETTRANSPORTSERVICE_CID);
@ -263,7 +264,7 @@ nsFingerChannel::SetLoadAttributes(PRUint32 aLoadAttributes)
return NS_OK;
}
#define FINGER_TYPE "text/plain"
#define FINGER_TYPE TEXT_PLAIN
NS_IMETHODIMP
nsFingerChannel::GetContentType(char* *aContentType) {

View File

@ -29,6 +29,7 @@
#include "nsXPIDLString.h"
#include "nsISocketTransportService.h"
#include "nsIStringStream.h"
#include "nsMimeTypes.h"
static NS_DEFINE_CID(kSocketTransportServiceCID, NS_SOCKETTRANSPORTSERVICE_CID);
@ -263,7 +264,7 @@ nsFingerChannel::SetLoadAttributes(PRUint32 aLoadAttributes)
return NS_OK;
}
#define FINGER_TYPE "text/plain"
#define FINGER_TYPE TEXT_PLAIN
NS_IMETHODIMP
nsFingerChannel::GetContentType(char* *aContentType) {