Re: [PATCH] quorumtool: fix display when nodenames or reverse lookup is missing

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

 



On 8/9/2012 10:07 AM, Fabio M. Di Nitto wrote:

> +static const char *node_name_by_nodelist(uint32_t nodeid)
> +{
> +	cmap_iter_handle_t iter;
> +	char key_name[CMAP_KEYNAME_MAXLEN];
> +	char tmp_key[CMAP_KEYNAME_MAXLEN];
> +	static char ret_buf[4096]; /* FIX ME */

and yes I´ll change this one to be something proper at merge time :)

should be _POSIX_HOST_NAME_MAX (255 bytes) in there.

Fabio
_______________________________________________
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