#define CMD_LINE_ARG_INVITEURL 5
int main(int argc, char *argv[]) {
+ (void)argc;
+
struct timeval main_loop_wait = { 5, 0 };
int client_id = -1;
execute_start();
if(client_id != -1) {
- if(!mesh_event_sock_send(client_id, NODE_STARTED, NULL, 0)) {
+ while(!mesh_event_sock_send(client_id, NODE_STARTED, NULL, 0)) {
fprintf(stderr, "Trying to resend mesh event\n");
sleep(1);
}
}
execute_close();
+ assert(meshlink_destroy(argv[1]));
}