aboutsummaryrefslogtreecommitdiff
path: root/aufgabe2/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'aufgabe2/log.c')
-rw-r--r--aufgabe2/log.c4
1 files changed, 2 insertions, 2 deletions
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);