summaryrefslogtreecommitdiffstats
path: root/src/responder
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-25 18:23:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-30 22:45:26 +0100
commit36aa359c7e01a88161f5ec5c3b15e78e84236ade (patch)
tree2a8ad28d4c90d301aa4ab033aea2fd0cd55ef5a3 /src/responder
parent55206e06bcfa0322cd817d34457e330545d6b877 (diff)
downloadsssd-36aa359c7e01a88161f5ec5c3b15e78e84236ade.tar.gz
sssd-36aa359c7e01a88161f5ec5c3b15e78e84236ade.tar.xz
sssd-36aa359c7e01a88161f5ec5c3b15e78e84236ade.zip
NSS: Fix parenthesis
Diffstat (limited to 'src/responder')
-rw-r--r--src/responder/nss/nsssrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index 36206e008..f2f6e9068 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -2288,7 +2288,7 @@ static int fill_members(struct sss_packet *packet,
if (ret >= (name.len + delim + dom_len)) {
/* need more space,
* got creative with the print format ? */
- int t = ret - name.len + delim + dom_len + 1;
+ int t = ret - (name.len + delim + dom_len) + 1;
ret = sss_packet_grow(packet, t);
if (ret != EOK) {
goto done;