NS_IMETHODIMP nsMsgCompFields::GetNewshost(char **_retval) { *_retval = nsCRT::strdup(GetAsciiHeader(MSG_NEWSPOSTURL_HEADER_ID)); return *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY; }
const char* GetNewshost() {return GetAsciiHeader(MSG_NEWSPOSTURL_HEADER_ID);}
NS_IMETHODIMP nsMsgCompFields::GetNewshost(char **_retval){  *_retval = nsCRT::strdup(GetAsciiHeader(MSG_NEWSPOSTURL_HEADER_ID));  return *_retval ? NS_OK : NS_ERROR_OUT_OF_MEMORY;}