This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Holger Hans Peter Freyther holger at freyther.deOn 04/07/2011 02:27 PM, pablo at gnumonks.org 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.