aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server-fn.c b/server-fn.c
index c4ff4aa9..372bf21d 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -439,7 +439,6 @@ server_check_unattached(void)
}
}
-/* Set stdin callback. */
int
server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int,
void *), void *cb_data, char **cause)
@@ -453,7 +452,7 @@ server_set_stdin_callback(struct client *c, void (*cb)(struct client *, int,
return (-1);
}
if (c->stdin_callback != NULL) {
- *cause = xstrdup("stdin in use");
+ *cause = xstrdup("stdin is in use");
return (-1);
}