r19155: Fix debug message.
authorJeremy Allison <jra@samba.org>
Fri, 6 Oct 2006 19:10:32 +0000 (19:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:17 +0000 (12:15 -0500)
Jeremy.
(This used to be commit 42e5481ce4bebc65040d466b49e3c45cd4e79f5d)

source3/nsswitch/winbindd_group.c

index 2067c43f8be4208f719656b39b44ba2662acf90f..de19ee02b5061b95ffb787ed49993bab84149282 100644 (file)
@@ -157,7 +157,7 @@ static BOOL fill_grent_mem(struct winbindd_domain *domain,
                        (*num_gr_mem)++;
                        DEBUG(10, ("buf_len + %d = %d\n", len + 1, buf_len));
                } else {
-                       DEBUG(10, ("appending %s at ndx %d\n", name, len));
+                       DEBUG(10, ("appending %s at ndx %d\n", name, buf_ndx));
                        safe_strcpy(&buf[buf_ndx], name, len);
                        buf_ndx += len;
                        buf[buf_ndx] = ',';