From 24ce486813103f5f8037b4386a53fa11d1632253 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Mon, 10 Jan 2011 20:45:59 +0100 Subject: Aufgabe 2: statistic implementiert, kleinere Schönheitskorrekturen. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aufgabe2/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aufgabe2/log.c') diff --git a/aufgabe2/log.c b/aufgabe2/log.c index 96b2a4f..14684ce 100644 --- a/aufgabe2/log.c +++ b/aufgabe2/log.c @@ -13,7 +13,6 @@ FILE *logfile; char *message; void log() { - int buffer; printf("log started\n"); /* Die Pipe zum lesen öffnen */ @@ -36,7 +35,8 @@ void log() { /* Nachricht aus der Pipe lesen, als Endian abhängiger * HEX-Wert in die Log Datei schreiben. Für portable - * Rückkonvertierung ins Dezimalsystem siehe Aufgabe 3. + * Rückkonvertierung ins Dezimalsystem siehe Aufgabe 3, + * oder bei Aufgabe 2 in statistic.c und monitor.c */ while (fgets(message, SIZE_HEX+1, pipe_conv)) { fputs(message, logfile); -- cgit v1.2.3-70-g09d2