summaryrefslogtreecommitdiffstats
path: root/src/sss_client
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-05-29 17:35:23 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-29 11:45:05 -0400
commitb481712148b36362e09d7611be1f36be6b962ca0 (patch)
tree5f260995dc6698780d53b7ac092b57c730819bb8 /src/sss_client
parent8126906ab783494204dc853c814b0882d2a76523 (diff)
downloadsssd-b481712148b36362e09d7611be1f36be6b962ca0.tar.gz
sssd-b481712148b36362e09d7611be1f36be6b962ca0.tar.xz
sssd-b481712148b36362e09d7611be1f36be6b962ca0.zip
Revert the client packet length, too, after reverting the packet protocol
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/nss_services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/nss_services.c b/src/sss_client/nss_services.c
index 159583d74..5f98d8dc9 100644
--- a/src/sss_client/nss_services.c
+++ b/src/sss_client/nss_services.c
@@ -286,7 +286,7 @@ _nss_sss_getservbyport_r(int port, const char *protocol,
}
}
- rd.len = sizeof(uint16_t)*2 + proto_len + 1;
+ rd.len = sizeof(uint32_t)*2 + proto_len + 1;
data = malloc(sizeof(uint8_t)*rd.len);
if (data == NULL) {
nret = NSS_STATUS_TRYAGAIN;