net.c: Fix a doxygen warning and trivial coding style cleanups.
[paraslash.git] / stdin.c
diff --git a/stdin.c b/stdin.c
index 4b7a962..649d464 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -97,6 +97,6 @@ void stdin_set_defaults(struct stdin_task *sit)
        sit->task.post_select = stdin_post_select;
        sit->task.event_handler = stdin_default_event_handler;
        sit->task.private_data = sit;
        sit->task.post_select = stdin_post_select;
        sit->task.event_handler = stdin_default_event_handler;
        sit->task.private_data = sit;
-       mark_fd_nonblock(STDIN_FILENO);
+       mark_fd_nonblocking(STDIN_FILENO);
        sprintf(sit->task.status, "stdin reader");
 }
        sprintf(sit->task.status, "stdin reader");
 }