Skip to content
Snippets Groups Projects
Commit edff86c7 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

- Removed extra error check.

parent 02d103c1
No related branches found
No related tags found
No related merge requests found
......@@ -35,11 +35,6 @@ static void gup(FILE * log1, FILE * log2, int pipe_id[2], int myNumber)
/* Read next character from pipe */
if( read(pipe_id[0], &c, 1) <= 0 )
{
if( errno == EINTR )
{
continue;
}
/* Error while reading from the pipe, exit */
fprintf(log1, "Child %d read from pipe with error "
"and exited\n", myNumber);
......
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