From 0cefa70904b52c5a8df95c2399f21b4a53d28fd1 Mon Sep 17 00:00:00 2001 From: Anton Johansson Date: Tue, 16 Oct 2007 14:35:45 +0200 Subject: [PATCH] comp run --- Makefile | 2 +- Node.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c031178..24f1050 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .SUFFIXES : .java .class # Add the rest of the classes needed for your Router. -CLASSES = UDPNode.class TCPNode.class LogThread.class +CLASSES = *.class CFLAGS = -classpath . all : $(CLASSES) diff --git a/Node.java b/Node.java index 32fd7e8..41c7e7c 100644 --- a/Node.java +++ b/Node.java @@ -1,6 +1,6 @@ /* * @(#)Node.java - * Time-stamp: "2007-10-16 14:24:44 anton" + * Time-stamp: "2007-10-16 14:33:06 anton" */ import java.io.IOException; @@ -65,7 +65,7 @@ public class Node implements NodeInterface { // if this node is assigned the task of // logging lap times to a log file if (isLogger) { - this.log = new LogThread(); + this.log = new LogThread(this); System.out.println("This node (with ID: " + ID + ") will log this session."); } -- 2.11.4.GIT