diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -651,7 +651,7 @@ void parse_lossless_packet(Tox *tox, uint32_t friendnumber, const uint8_t *data, | |||
651 | frame->data_length = INT16_AT(data, 6); | 651 | frame->data_length = INT16_AT(data, 6); |
652 | frame->data = (uint8_t *)(data + PROTOCOL_BUFFER_OFFSET); | 652 | frame->data = (uint8_t *)(data + PROTOCOL_BUFFER_OFFSET); |
653 | frame->friendnumber = friendnumber; | 653 | frame->friendnumber = friendnumber; |
654 | log_printf(L_DEBUG2, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); | 654 | log_printf(L_DEBUG4, "Got protocol frame magic 0x%x type 0x%x from friend %d\n", frame->magic, frame->packet_type, frame->friendnumber); |
655 | 655 | ||
656 | if(len < (size_t)frame->data_length + PROTOCOL_BUFFER_OFFSET) | 656 | if(len < (size_t)frame->data_length + PROTOCOL_BUFFER_OFFSET) |
657 | { | 657 | { |
@@ -1040,10 +1040,10 @@ int do_server_loop() | |||
1040 | tmp = NULL; | 1040 | tmp = NULL; |
1041 | tun = NULL; | 1041 | tun = NULL; |
1042 | 1042 | ||
1043 | log_printf(L_DEBUG2, "Starting tunnel iteration..."); | 1043 | log_printf(L_DEBUG3, "Starting tunnel iteration..."); |
1044 | HASH_ITER(hh, by_id, tun, tmp) | 1044 | HASH_ITER(hh, by_id, tun, tmp) |
1045 | { | 1045 | { |
1046 | log_printf(L_DEBUG2, "Current tunnel: %p", tun); | 1046 | log_printf(L_DEBUG3, "Current tunnel: %p", tun); |
1047 | if(FD_ISSET(tun->sockfd, &fds)) | 1047 | if(FD_ISSET(tun->sockfd, &fds)) |
1048 | { | 1048 | { |
1049 | tox_timer_do_sleep = true; | 1049 | tox_timer_do_sleep = true; |
@@ -1093,7 +1093,7 @@ int do_server_loop() | |||
1093 | } | 1093 | } |
1094 | } | 1094 | } |
1095 | } | 1095 | } |
1096 | log_printf(L_DEBUG2, "Tunnel iteration done"); | 1096 | log_printf(L_DEBUG3, "Tunnel iteration done"); |
1097 | 1097 | ||
1098 | LL_FOREACH_SAFE(tunnels_to_delete, tunnel_list_entry, list_tmp) | 1098 | LL_FOREACH_SAFE(tunnels_to_delete, tunnel_list_entry, list_tmp) |
1099 | { | 1099 | { |