[freenet-cvs] r13929 - trunk/freenet/src/freenet/node/fcp

zothar at freenetproject.org zothar at freenetproject.org
Wed Jul 4 20:48:21 UTC 2007


Author: zothar
Date: 2007-07-04 20:48:21 +0000 (Wed, 04 Jul 2007)
New Revision: 13929

Modified:
   trunk/freenet/src/freenet/node/fcp/NodeData.java
Log:
Handle the boolean cases correctly

Modified: trunk/freenet/src/freenet/node/fcp/NodeData.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/NodeData.java	2007-07-04 19:27:42 UTC (rev 13928)
+++ trunk/freenet/src/freenet/node/fcp/NodeData.java	2007-07-04 20:48:21 UTC (rev 13929)
@@ -22,9 +22,9 @@
 	public SimpleFieldSet getFieldSet() {
 		SimpleFieldSet fs;
 		if(withPrivate) {
+			fs = node.exportDarknetPrivateFieldSet();
+		} else {
 			fs = node.exportDarknetPublicFieldSet();
-		} else {
-			fs = node.exportDarknetPrivateFieldSet();
 		}
 		if(withVolatile) {
 			SimpleFieldSet vol = node.exportVolatileFieldSet();




More information about the cvs mailing list