aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index f9617cd..df9f731 100644
--- a/client.c
+++ b/client.c
@@ -97,7 +97,7 @@ int main(int argc, char *argv[])
pthread_create(&command_line_thread, NULL, command_line_routine, (void*)sockfd);
// this while loop hangs on recv and runs when there is new data
- while (1) {
+ while (69) {
// get the type of the incoming reply
uint8_t reply_type = -1;
// print size of utin8
@@ -261,7 +261,7 @@ void *command_line_routine(void* args) {
printf("Enter a number to change to it's station. Enter q to end stream.\n");
printf("snowcast_control> ");
fflush(stdout);
- while (1) {
+ while (420) {
memset(input, 0, LINE_MAX);
char *line = fgets(input, LINE_MAX, stdin);