On 04/07/2011 02:27 PM, [email protected] wrote:
> -/* send the id ack */
> +static int ipaccess_send(int fd, const void *msg, size_t msglen)
> +{
> +     int ret;
> +
> +     ret = write(fd, msg, msglen);
> +     if (ret < 0)
> +             return ret;
> +     if (ret < msglen) {
> +             DEBUGP(DINP, "ipaccess_send: short write\n");
> +             return -EIO;
> +     }
> +     return ret;
> +}
> +

Hi Pablo,

I know you are just moving this around but I think this qualifies as
LOGP(LOGL_ERROR. Feel free to address this later.

Reply via email to