diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_misc.c b/source3/winbindd/winbindd_misc.c index 42ecea2aad..7d2516770b 100644 --- a/source3/winbindd/winbindd_misc.c +++ b/source3/winbindd/winbindd_misc.c @@ -319,7 +319,7 @@ void winbindd_dc_info(struct winbindd_cli_state *cli) struct winbindd_domain *domain; char *dc_name, *dc_ip; - cli->request->domain_name[sizeof(cli->request->domain_name-1)] = '\0'; + cli->request->domain_name[sizeof(cli->request->domain_name)-1] = '\0'; DEBUG(3, ("[%5lu]: domain_info [%s]\n", (unsigned long)cli->pid, cli->request->domain_name)); |