summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-07-03 14:03:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:07 -0500
commit8cedebd9936c3a0ad46b169351d11d116a36ed6e (patch)
tree6e6cc51d3cc62448ef5614fc91d005367b015c0b /source4/libnet
parentdd36f1332028a2278d2f20bc1df45cca53d9ea08 (diff)
downloadsamba-8cedebd9936c3a0ad46b169351d11d116a36ed6e.tar.gz
samba-8cedebd9936c3a0ad46b169351d11d116a36ed6e.tar.bz2
samba-8cedebd9936c3a0ad46b169351d11d116a36ed6e.zip
r8095: Fix compiler warning.
rafal (This used to be commit 6736ab102f60f8e14d10f430f3e5a0eef478bc81)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c
index 92f4df5844..33d32c25dd 100644
--- a/source4/libnet/libnet_rpc.c
+++ b/source4/libnet/libnet_rpc.c
@@ -126,7 +126,7 @@ static NTSTATUS libnet_RpcConnectPdc(struct libnet_context *ctx, TALLOC_CTX *mem
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;