diff options
author | Simo Sorce <idra@samba.org> | 2008-10-14 05:41:39 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-10-14 05:41:39 -0400 |
commit | e33930a92ec392cd4a36d24114f2ab1946d9ad4b (patch) | |
tree | 7804e9455b622d3129ba536ee9ca985adfb7a0fe | |
parent | 56ae64b3f5116004a0023abdbd9163ba7c97c746 (diff) | |
download | sssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.tar.gz sssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.tar.bz2 sssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.zip |
Fix off by one error
-rw-r--r-- | nss_client/group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss_client/group.c b/nss_client/group.c index 43dbb6d6..df3abac2 100644 --- a/nss_client/group.c +++ b/nss_client/group.c @@ -155,7 +155,7 @@ static int sss_nss_getgr_readrep(struct sss_nss_gr_rep *pr, ptmem++; } - *len = slen -i -1; + *len = slen -i; return 0; } |