survive reboot

This commit is contained in:
Polynomialdivision 2020-04-15 09:10:13 +02:00
parent 5709b96a4d
commit 899eae05f0
2 changed files with 15 additions and 3 deletions

View file

@ -135,6 +135,7 @@ static void server_cb(struct uloop_fd *fd, unsigned int events) {
}
int run_server(int port) {
printf("Adding socket!\n");
char port_str[12];
sprintf(port_str, "%d", port);