summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-14 05:41:39 -0400
committerSimo Sorce <idra@samba.org>2008-10-14 05:41:39 -0400
commite33930a92ec392cd4a36d24114f2ab1946d9ad4b (patch)
tree7804e9455b622d3129ba536ee9ca985adfb7a0fe
parent56ae64b3f5116004a0023abdbd9163ba7c97c746 (diff)
downloadsssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.tar.gz
sssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.tar.bz2
sssd-e33930a92ec392cd4a36d24114f2ab1946d9ad4b.zip
Fix off by one error
-rw-r--r--nss_client/group.c2
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;
}