From: Andre Noll Date: Sun, 4 Nov 2012 12:38:59 +0000 (+0100) Subject: Add missing documentation of send_strerror(). X-Git-Tag: v0.4.12~7^2~25 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=099ef4ce3d48323d2af29c90b7aa91fe43b6033a Add missing documentation of send_strerror(). --- 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?