svn commit: samba r25533 - in branches: SAMBA_3_2/source/libsmb SAMBA_3_2/source/torture SAMBA_3_2_0/source/libsmb SAMBA_3_2_0/source/torture

Andrew Bartlett abartlet at samba.org
Fri Oct 5 21:58:55 GMT 2007


On Fri, 2007-10-05 at 21:28 +0000, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2007-10-05 21:28:54 +0000 (Fri, 05 Oct 2007)
> New Revision: 25533
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25533
> 
> Log:
> remove a pstring
> Modified:
>    branches/SAMBA_3_2/source/libsmb/nterr.c
>    branches/SAMBA_3_2/source/torture/torture.c
>    branches/SAMBA_3_2_0/source/libsmb/nterr.c
>    branches/SAMBA_3_2_0/source/torture/torture.c

> 
> Modified: branches/SAMBA_3_2_0/source/torture/torture.c
> ===================================================================
> --- branches/SAMBA_3_2_0/source/torture/torture.c	2007-10-05 21:22:07 UTC (rev 25532)
> +++ branches/SAMBA_3_2_0/source/torture/torture.c	2007-10-05 21:28:54 UTC (rev 25533)
> @@ -4768,14 +4768,14 @@
>  
>  		if (NT_STATUS_V(nt_status) != error) { 
>  			printf("/*\t{ This NT error code was 'sqashed'\n\t from %s to %s \n\t during the session setup }\n*/\n", 
> -			       get_nt_error_c_code(NT_STATUS(error)), 
> -			       get_nt_error_c_code(nt_status));
> +			       nt_errstr(NT_STATUS(error)),
> +			       nt_errstr(nt_status));
>  		}
>  		
>  		printf("\t{%s,\t%s,\t%s},\n", 
>  		       smb_dos_err_class(errclass), 
>  		       smb_dos_err_name(errclass, errnum), 
> -		       get_nt_error_c_code(NT_STATUS(error)));
> +		       nt_errstr(NT_STATUS(error)));
>  	}
>  	return True;
>  }

This deliberately used a different function, because we compile the
output into our DOS -> NTSTATUS conversion tables.  (Which we should
update some time).

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20071006/299e78e7/attachment.bin


More information about the samba-technical mailing list