[riot-notifications] [RIOT] Posix sockets (#226)

Oleg Hahm notifications at github.com
Thu Nov 28 01:04:50 CET 2013


> +    if (res < 0) {
> +        // destiny needs more granular error hndling
> +        errno = ECONNREFUSED;
> +        return -1;
> +    }
> +
> +    return res;
> +}
> +
> +ssize_t recv(int socket, void *buffer, size_t length, int flags)
> +{
> +    int32_t res = sock_func_wrapper(destiny_socket_recv, socket, buffer,
> +                                    (uint32_t) length, flags);
> +
> +    if (res < 0) {
> +        // destiny needs more granular error hndling

C&P typo.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/226/files#r7973789
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131127/771b1e45/attachment.html>


More information about the notifications mailing list