good for merge

On Fri, 2010-05-14 at 09:49 +1000, Angus Salkeld wrote:
> Signed-off-by: Angus Salkeld <[email protected]>
> ---
>  lcr/uis.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/lcr/uis.c b/lcr/uis.c
> index 004c464..93745a5 100755
> --- a/lcr/uis.c
> +++ b/lcr/uis.c
> @@ -77,7 +77,9 @@ static void uis_lcr_bind (int *server_fd)
>        */
>       fd = socket (PF_UNIX, SOCK_STREAM, 0);
>       if (fd == -1) {
> -             printf ("lcr_bind failed\n");
> +             perror ("uis_lcr_bind failed");
> +             *server_fd = -1;
> +             return;
>       };
>  
>  #if !defined(COROSYNC_LINUX)

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to