Author: toad
Date: 2007-12-04 19:28:00 +0000 (Tue, 04 Dec 2007)
New Revision: 16285
Modified:
trunk/freenet/src/freenet/node/TextModeClientInterface.java
Log:
Add missing \r\n's
Modified: trunk/freenet/src/freenet/node/TextModeClientInterface.java
===================================================================
--- trunk/freenet/src/freenet/node/TextModeClientInterface.java 2007-12-04
19:27:19 UTC (rev 16284)
+++ trunk/freenet/src/freenet/node/TextModeClientInterface.java 2007-12-04
19:28:00 UTC (rev 16285)
@@ -912,7 +912,7 @@
om.announce(target, new AnnouncementCallback() {
public void addedNode(PeerNode pn) {
try {
- out.write(("Added node
"+pn.shortToString()+"\n").getBytes());
+ out.write(("Added node
"+pn.shortToString()+"\r\n").getBytes());
out.flush();
} catch (IOException e) {
// Ignore
@@ -921,7 +921,7 @@
public void bogusNoderef(String reason) {
try {
- out.write(("Bogus noderef:
"+reason).getBytes());
+ out.write(("Bogus noderef:
"+reason+"\r\n").getBytes());
out.flush();
} catch (IOException e) {
// Ignore
@@ -930,7 +930,7 @@
public void completed() {
try {
- out.write(("Completed
announcement.").getBytes());
+ out.write(("Completed
announcement.\r\n").getBytes());
out.flush();
} catch (IOException e) {
// Ignore
@@ -939,7 +939,7 @@
public void nodeFailed(PeerNode pn, String
reason) {
try {
- out.write(("Node failed: "+pn+"
"+reason).getBytes());
+ out.write(("Node failed: "+pn+"
"+reason+"\r\n").getBytes());
out.flush();
} catch (IOException e) {
// Ignore
@@ -948,7 +948,7 @@
public void nodeNotWanted() {
try {
- out.write(("Hop doesn't want
me.").getBytes());
+ out.write(("Hop doesn't want
me.\r\n").getBytes());
out.flush();
} catch (IOException e) {
// Ignore