Skip to content
Snippets Groups Projects
Commit 51bb48aa authored by Sebastian Schinzel's avatar Sebastian Schinzel
Browse files

Merge branch 'fix-stdin-write' into 'master'

Fix, schreiben auf STDIN -> STDOUT

See merge request !1
parents 14d3ddd0 e4b5fb37
Branches master
No related tags found
No related merge requests found
......@@ -135,9 +135,9 @@ void main_loop() {
/*
* Gib die eingegangenen Daten (zusätzlich) auf der Kommandozeile aus.
*/
length = write(STDIN_FILENO, buffer, length);
length = write(STDOUT_FILENO, buffer, length);
if (length < 0)
error("ERROR writing to stdin");
error("ERROR writing to stdout");
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment