[PATCH libICE 05/13] add errormessage and remove unneeded indention

Emil Velikov emil.l.velikov at gmail.com
Tue Oct 31 13:30:34 UTC 2017


On 18 October 2017 at 16:57, walter harms <wharms at bfs.de> wrote:
>
>
> add errormessage and remove unneeded indention
>
Please keep those separate patches.

> Signed-off-by: Walter Harms <wharms at bfs.de>
>
> ---
>  src/listen.c | 51 +++++++++++++++++++++++++--------------------------
>  1 file changed, 25 insertions(+), 26 deletions(-)
>
> diff --git a/src/listen.c b/src/listen.c
> index 9a449ae..54aabcd 100644
> --- a/src/listen.c
> +++ b/src/listen.c
> @@ -67,6 +67,8 @@ IceListenForConnections (
>         for (i = 0; i < transCount; i++)
>             _IceTransClose (transConns[i]);
>         free (transConns);
> +        strncpy (errorStringRet,
> +           "Out of memmory", errorLength);
Rest of the file has this on a single line with message "Malloc failed"

-Emil


More information about the xorg-devel mailing list