Skip to content

Commit 99c5fe8

Browse files
ligurioTotktonada
authored andcommitted
client: add missed return values to Doxygen comments
1 parent 5285353 commit 99c5fe8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

smtp/smtpc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ smtpc_request_delete(struct smtpc_request *req);
155155
* @brief Add recipient to the request
156156
* @param req - reference to object
157157
* @param @recipient - a mail recipient
158+
* @retval 0 on success
159+
* @retval -1 on error
158160
*/
159161
int
160162
smtpc_add_recipient(struct smtpc_request *req, const char *recipient);
@@ -164,6 +166,8 @@ smtpc_add_recipient(struct smtpc_request *req, const char *recipient);
164166
* @param req request
165167
* @param body body
166168
* @param bytes sizeof body
169+
* @retval 0 on success
170+
* @retval -1 on error, check diag
167171
*/
168172
int
169173
smtpc_set_body(struct smtpc_request *req, const char *body, size_t size);

0 commit comments

Comments
 (0)