Re: [hackers] [quark][PATCH] Return -1 in case of errors in queue event wrapper functions.

From: Laslo Hunhold <dev_AT_frign.de>
Date: Sat, 30 Jan 2021 15:31:24 +0100

On Sat, 30 Jan 2021 13:54:58 +0100
Rainer Holzner <rholzner_AT_web.de> wrote:

Dear Rainer,

> Use same data type for nready (number of events) as returned by
> queue_wait(). ---
> [...]
> - int qfd, nready, fd;
> + int qfd, fd;
> + ssize_t nready;
> [...]
> + return -1;

thanks for spotting these mistakes and submitting a patch! I've
pushed it.

With best regards

Laslo
Received on Sat Jan 30 2021 - 15:31:24 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 30 2021 - 15:36:36 CET