[PATCH 1/2] MSDFS referral shuffling

David Disseldorp ddiss at suse.de
Fri Feb 27 07:43:48 MST 2015


On Fri, 27 Feb 2015 14:32:29 +0000, Robin McCorkell wrote:

> +static void shuffle_strlist(const char **list, int count)
> +{
> +	int i, r;
> +	const char *tmp;

shuffle_strlist() is called with a non-const alt_path param, so
should be reworked:

-static void shuffle_strlist(const char **list, int count)
+static void shuffle_strlist(char **list, int count)
 {
        int i, r;
-       const char *tmp;
+       char *tmp;
 
        srandom(time(NULL));


Sorry I didn't pick this up in the previous rounds.

Cheers, David


More information about the samba-technical mailing list