fix const weirdness. clean up code for solaris compiler

This commit is contained in:
sspitzer%netscape.com 1999-05-29 21:03:48 +00:00
Родитель a821a0e69a
Коммит 6eae3b1549
1 изменённых файлов: 2 добавлений и 6 удалений

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

@ -67,10 +67,6 @@
#define DEFAULT_NEWS_CHUNK_SIZE -1
#ifdef DEBUG_sspitzer_
#define DEBUG_NEWS
#endif
/* #define UNREADY_CODE */ /* mscott: generic flag for hiding access to url struct and active entry which are now gone */
/*#define CACHE_NEWSGRP_PASSWORD*/
@ -3264,9 +3260,9 @@ PRInt32 nsNNTPProtocol::PostData()
nsCOMPtr <nsINNTPNewsgroupPost> message;
rv = m_runningURL->GetMessageToPost(getter_AddRefs(message));
if (NS_SUCCEEDED(rv)) {
const nsFilePath *filePath;
nsFilePath *filePath;
rv = message->GetPostMessageFile(&filePath);
if (NS_SUCCEEDED(rv) && (*filePath != "")) {
if (NS_SUCCEEDED(rv)) {
PostMessageInFile(*filePath);
}
}