Author: bertsch Date: Thu Oct 15 18:07:51 2009 New Revision: 1188 Log: Prevent beacon from quitting if send fails Modified: trunk/pisabeacon/beaconmain.c Modified: trunk/pisabeacon/beaconmain.c ============================================================================== --- trunk/pisabeacon/beaconmain.c Thu Oct 15 17:58:34 2009 (r1187) +++ trunk/pisabeacon/beaconmain.c Thu Oct 15 18:07:51 2009 (r1188) @@ -133,7 +133,7 @@ if (sendto(ctx.bc_fd, &packet, sizeof(packet), 0, (struct sockaddr*) &ctx.bc_addr, sizeof(ctx.bc_addr)) < 0) { perror("Send failed:"); - exit(EXIT_FAILURE); + /* exit(EXIT_FAILURE); */ } /*wait before sending next packet */ usleep(ctx.bc_interval * 1000);