From 099ef4ce3d48323d2af29c90b7aa91fe43b6033a Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 4 Nov 2012 13:38:59 +0100 Subject: [PATCH] Add missing documentation of send_strerror(). --- command.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/command.c b/command.c index 53465e30..b67966fa 100644 --- 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? -- 2.39.5