Oops, lameness. Also: switch the two comments on the previous commits of these two files.
git-svn-id: svn://10.0.0.236/trunk@35250 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2ce886b9fe
commit
2ec00ce50f
@ -16,7 +16,7 @@
|
||||
* The Initial Developer of the Original Code is dog.
|
||||
* Portions created by dog are Copyright (C) 1998 dog <dog@dog.net.uk>. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): n/a.
|
||||
* Contributor(s): Edwin Woudt <edwin@woudt.nl>
|
||||
*/
|
||||
|
||||
package dog.mail.nntp;
|
||||
@ -411,14 +411,15 @@ public class NNTPStore extends Store implements StatusSource {
|
||||
// Attempts to discover which newsgroups exist and which articles have been read.
|
||||
void readNewsrc() {
|
||||
try {
|
||||
File newsrc;
|
||||
String osname = System.getProperties().getProperty("os.name");
|
||||
if (osname.startsWith("Windows") || osname.startsWith("Win32") ||
|
||||
osname.startsWith("Win16") || osname.startsWith("16-bit Windows")) {
|
||||
File newsrc = new File(System.getProperty("user.home")+File.separator+"news-"+getHostName()+".rc");
|
||||
newsrc = new File(System.getProperty("user.home")+File.separator+"news-"+getHostName()+".rc");
|
||||
if (!newsrc.exists())
|
||||
newsrc = new File(System.getProperty("user.home")+File.separator+"news.rc");
|
||||
} else {
|
||||
File newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc-"+getHostName());
|
||||
newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc-"+getHostName());
|
||||
if (!newsrc.exists())
|
||||
newsrc = new File(System.getProperty("user.home")+File.separator+".newsrc");
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
* The Initial Developer of the Original Code is dog.
|
||||
* Portions created by dog are Copyright (C) 1998 dog <dog@dog.net.uk>. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s): n/a.
|
||||
* Contributor(s): Edwin Woudt <edwin@woudt.nl>
|
||||
*/
|
||||
|
||||
package dog.mail.nntp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user