summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/responder/nss/nsssrv_services.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/responder/nss/nsssrv_services.c b/src/responder/nss/nsssrv_services.c
index 38754ff0..2f2a25c2 100644
--- a/src/responder/nss/nsssrv_services.c
+++ b/src/responder/nss/nsssrv_services.c
@@ -33,8 +33,8 @@
#include "db/sysdb_services.h"
struct getserv_ctx {
- struct tevent_context *ev;
uint16_t port;
+ struct tevent_context *ev;
struct nss_dom_ctx *dctx;
struct sss_domain_info **domains;
@@ -681,10 +681,10 @@ fill_service(struct sss_packet *packet,
}
to_sized_string(&cased_proto, tmpstr);
- sss_packet_grow(packet, 2 * sizeof(uint16_t)
- + sizeof(uint32_t)
- + cased_name.len
- + cased_proto.len);
+ ret = sss_packet_grow(packet, 2 * sizeof(uint16_t)
+ + sizeof(uint32_t)
+ + cased_name.len
+ + cased_proto.len);
if (ret != EOK) {
num = 0;
goto done;