svn commit: samba r8095 - in branches/SAMBA_4_0/source/libnet: .

mimir at samba.org mimir at samba.org
Sun Jul 3 14:03:41 GMT 2005


Author: mimir
Date: 2005-07-03 14:03:41 +0000 (Sun, 03 Jul 2005)
New Revision: 8095

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

Log:
Fix compiler warning.


rafal


Modified:
   branches/SAMBA_4_0/source/libnet/libnet_rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_rpc.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_rpc.c	2005-07-03 13:58:47 UTC (rev 8094)
+++ branches/SAMBA_4_0/source/libnet/libnet_rpc.c	2005-07-03 14:03:41 UTC (rev 8095)
@@ -126,7 +126,7 @@
 	NTSTATUS status;
 	struct libnet_RpcConnect r2;
 	struct libnet_Lookup f;
-	char address[16];
+	const char *address = talloc_array(ctx, const char, 16);
 
 	f.in.hostname  = r->in.domain_name;
 	f.in.methods   = NULL;



More information about the samba-cvs mailing list