chore: formatting nits

main
Sean McBride 4 years ago
parent 832d3ea465
commit 0d44e473e3

@ -3,7 +3,7 @@
#include "sandbox.h" #include "sandbox.h"
void current_sandbox_close_file_descriptor(int io_handle_index); void current_sandbox_close_file_descriptor(int io_handle_index);
struct sandbox * current_sandbox_get(void); struct sandbox *current_sandbox_get(void);
int current_sandbox_get_file_descriptor(int io_handle_index); int current_sandbox_get_file_descriptor(int io_handle_index);
int current_sandbox_initialize_io_handle(void); int current_sandbox_initialize_io_handle(void);
void current_sandbox_set(struct sandbox *sandbox); void current_sandbox_set(struct sandbox *sandbox);

@ -54,7 +54,8 @@ send_fn(void *d)
return NULL; return NULL;
} }
if (sendto(file_descriptor, r->msg, strlen(r->msg), 0, (struct sockaddr *)&sa, sizeof(sa)) < 0 && errno != EINTR) { if (sendto(file_descriptor, r->msg, strlen(r->msg), 0, (struct sockaddr *)&sa, sizeof(sa)) < 0
&& errno != EINTR) {
perror("sendto"); perror("sendto");
return NULL; return NULL;
} }

Loading…
Cancel
Save