summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}