Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I86adff6db8bc4bb681ffe06530fd98ffbc03d3c5
if (ret) {
PERROR("close");
}
- }
- sock = -1;
+ }
+ sock = -1;
/*
* TODO: Inform client somehow of the fatal error. At
* this point, ret < 0 means that a zmalloc failed
if (ret) {
PERROR("close");
}
- }
- sock = -1;
+ }
+ sock = -1;
clean_command_ctx(&cmd_ctx);
/* Return 0 as this is not a fatal error. */
return 0;
}
- }
+ }
- len = lttcomm_send_fds_unix_sock(sock, fds, fd_count);
+ len = lttcomm_send_fds_unix_sock(sock, fds, fd_count);
return len < 0 ? -1 : 0;
}