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

Re: [Cluster-devel] cluster/cman/daemon cmanccs.c



rmccabe sourceware org wrote:
> -	dot = strstr(nodename2, ".");
> +	dot = strchr(nodename2, '.');

This change introduces a build warning:

warning: passing argument 2 of ‘strstr’ makes pointer from integer without a cast

Fabio

-- 
I'm going to make him an offer he can't refuse.


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