undefined variable in source/smbwrapper/shared.c
Herb Lewis
herb at chomps.engr.sgi.com
Thu Apr 12 13:57:18 GMT 2001
Fixed. Thanks for spotting this.
samba-technical at thewrittenword.com wrote:
>
> Variable 's' is not defined in smbw_setup_shared() from 2.2.0 CVS.
>
> --
> albert chin (china at thewrittenword.com)
>
> -- snip snip
> Index: source/smbwrapper/shared.c
> ===================================================================
> RCS file: /cvsroot/samba/source/smbwrapper/shared.c,v
> retrieving revision 1.12.6.1
> diff -u -3 -p -r1.12.6.1 shared.c
> --- source/smbwrapper/shared.c 2001/04/11 23:19:18 1.12.6.1
> +++ source/smbwrapper/shared.c 2001/04/12 08:30:57
> @@ -33,7 +33,7 @@ setup the shared area
> void smbw_setup_shared(void)
> {
> int fd;
> - pstring name;
> + pstring name, s;
>
> slprintf(name,sizeof(name)-1, "%s/smbw.XXXXXX",tmpdir());
>
--
======================================================================
Herb Lewis Silicon Graphics
Networking Engineer 1600 Amphitheatre Pkwy MS-510
Strategic Software Organization Mountain View, CA 94043-1351
herb at sgi.com Tel: 650-933-2177
http://www.sgi.com Fax: 650-932-2177
======================================================================
More information about the samba-technical
mailing list