Changeset cde999a in mainline for uspace/srv/net/tcp/service.c


Ignore:
Timestamp:
2018-01-04T20:22:51Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d95c9d, 84a1a54
Parents:
3c7702c0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
Message:

Fix comments to stop referring to error codes as negative.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tcp/service.c

    r3c7702c0 rcde999a  
    433433 * @param rconn_id Place to store ID of new connection
    434434 *
    435  * @return EOK on success or negative error code
     435 * @return EOK on success or an error code
    436436 */
    437437static int tcp_conn_create_impl(tcp_client_t *client, inet_ep2_t *epp,
     
    507507 * @param rlst_id Place to store ID of new listener
    508508 *
    509  * @return EOK on success or negative error code
     509 * @return EOK on success or an error code
    510510*/
    511511static int tcp_listener_create_impl(tcp_client_t *client, inet_ep_t *ep,
     
    578578 * @param conn_id Connection ID
    579579 *
    580  * @return EOK on success or negative error code
     580 * @return EOK on success or an error code
    581581 */
    582582static int tcp_conn_send_fin_impl(tcp_client_t *client, sysarg_t conn_id)
     
    603603 * @param conn_id Connection ID
    604604 *
    605  * @return EOK on success or negative error code
     605 * @return EOK on success or an error code
    606606 */
    607607static int tcp_conn_push_impl(tcp_client_t *client, sysarg_t conn_id)
     
    628628 * @param conn_id Connection ID
    629629 *
    630  * @return EOK on success or negative error code
     630 * @return EOK on success or an error code
    631631 */
    632632static int tcp_conn_reset_impl(tcp_client_t *client, sysarg_t conn_id)
     
    654654 * @param size    Data size in bytes
    655655 *
    656  * @return EOK on success or negative error code
     656 * @return EOK on success or an error code
    657657 */
    658658static int tcp_conn_send_impl(tcp_client_t *client, sysarg_t conn_id,
     
    684684 * @param nrecv   Place to store actual number of bytes received
    685685 *
    686  * @return EOK on success or negative error code
     686 * @return EOK on success or an error code
    687687 */
    688688static int tcp_conn_recv_impl(tcp_client_t *client, sysarg_t conn_id,
     
    12441244/** Initialize TCP service.
    12451245 *
    1246  * @return EOK on success or negative error code.
     1246 * @return EOK on success or an error code.
    12471247 */
    12481248int tcp_service_init(void)
Note: See TracChangeset for help on using the changeset viewer.