diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-15 18:27:26 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-15 18:27:26 -0800 |
commit | acb829ecc3b9af3f141425ecac032a7c722a1815 (patch) | |
tree | b5f4f9d8d89096859509b419894ac68c6b62f029 /source3/utils/net_lookup.c | |
parent | c261545449f71d9b347a37518dab0d5ae4116f8b (diff) | |
download | samba-acb829ecc3b9af3f141425ecac032a7c722a1815.tar.gz samba-acb829ecc3b9af3f141425ecac032a7c722a1815.tar.bz2 samba-acb829ecc3b9af3f141425ecac032a7c722a1815.zip |
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
Diffstat (limited to 'source3/utils/net_lookup.c')
-rw-r--r-- | source3/utils/net_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 5e3551b781..9060f8366a 100644 --- a/source3/utils/net_lookup.c +++ b/source3/utils/net_lookup.c @@ -99,7 +99,7 @@ static int net_lookup_ldap(int argc, const char **argv) TALLOC_CTX *ctx; NTSTATUS status; int ret; - char h_name[HOST_NAME_MAX]; + char h_name[MAX_DNS_NAME_LENGTH]; if (argc > 0) domain = argv[0]; |