projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00583be
)
Add missing documentation of send_strerror().
author
Andre Noll
<maan@systemlinux.org>
Sun, 4 Nov 2012 12:38:59 +0000
(13:38 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 18 Nov 2012 19:28:27 +0000
(20:28 +0100)
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index 53465e3089d862647e7476228033b3021314d4b7..b67966fa0653cae2641a37823fcf81c2410b63ce 100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-259,6
+259,14
@@
__printf_3_4 int send_sb_va(struct stream_cipher_context *scc, int band,
return send_sb(scc, msg, ret, band, false);
}
+/**
+ * Send an error message to a client.
+ *
+ * \param cc Client info.
+ * \param err The (positive) error code.
+ *
+ * \return The return value of the underlying call to send_sb_va().
+ */
int send_strerror(struct command_context *cc, int err)
{
return cc->use_sideband?