X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.cpp;h=008126c5c97273762b5144cf8a9d077efc940b5d;hp=9b98ebab999fe6e0818528305df992c92b378f7e;hb=bb89ed5253c5199147d1109b7189ce3681242eae;hpb=d9de2a370c08fd6738984e759a1ab4f91015af0c diff --git a/cubemap.cpp b/cubemap.cpp index 9b98eba..008126c 100644 --- a/cubemap.cpp +++ b/cubemap.cpp @@ -90,7 +90,8 @@ void *acceptor_thread_run(void *arg) } if (sock == -1) { perror("accept"); - exit(1); + usleep(100000); + continue; } // Set the socket as nonblocking.