svn commit: samba r19819 - in branches/SAMBA_3_0/source/rpc_server: .

vlendec at samba.org vlendec at samba.org
Tue Nov 21 13:28:28 GMT 2006


Author: vlendec
Date: 2006-11-21 13:28:27 +0000 (Tue, 21 Nov 2006)
New Revision: 19819

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19819

Log:
Windows returns an empty string instead of NULL here
Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c	2006-11-21 10:48:11 UTC (rev 19818)
+++ branches/SAMBA_3_0/source/rpc_server/srv_winreg_nt.c	2006-11-21 13:28:27 UTC (rev 19819)
@@ -572,7 +572,7 @@
 	if ( last_changed_time ) {
 		*last_changed_time = 0;
 	}
-	keyclass->name = NULL;
+	keyclass->name = "";
 	if ( (name->name = talloc_strdup( p->mem_ctx, subkey )) == NULL ) {
 		status = WERR_NOMEM;
 	}



More information about the samba-cvs mailing list