Re: [PATCH 1/2] Properly parse uidgid files

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

 



ACK

On 04/06/2012 12:14 PM, Jan Friesse wrote:
> Full path to key is now tested rather then key name only.
> 
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/coroparse.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/exec/coroparse.c b/exec/coroparse.c
> index c316e41..490f4bf 100644
> --- a/exec/coroparse.c
> +++ b/exec/coroparse.c
> @@ -966,7 +966,7 @@ static int uidgid_config_parser_cb(const char *path,
>  			snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "uidgid.uid.%u",
>  					uid);
>  			icmap_set_uint8(key_name, 1);
> -		} else if (strcmp(key, "uidgid.gid") == 0) {
> +		} else if (strcmp(path, "uidgid.gid") == 0) {
>  			gid = gid_determine(value);
>  			if (gid == -1) {
>  				*error_string = error_string_response;

_______________________________________________
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