Re: [PATCH 1/5] Make use of EBADMSG conditional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/31/2012 01:47 AM, Jan Friesse wrote:
> ---
>  common_lib/error_conversion.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/common_lib/error_conversion.c b/common_lib/error_conversion.c
> index 4ebfd6a..5e1fa48 100644
> --- a/common_lib/error_conversion.c
> +++ b/common_lib/error_conversion.c
> @@ -98,9 +98,11 @@ cs_error_t qb_to_cs_error (int result)
>  	case ENOTSUP:
>  		err = CS_ERR_NOT_SUPPORTED;
>  		break;
> +#ifdef EBADMSG
>  	case EBADMSG:
>  		err = CS_ERR_MESSAGE_ERROR;
>  		break;
> +#endif
>  	case EMSGSIZE:
>  	case E2BIG:
>  		err = CS_ERR_TOO_BIG;
> 

I don't understand the purpose of this patch?
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux