summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-12 16:48:35 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-16 12:06:02 +0100
commit1494e474dde58ec6e446cdbfad9a8d89f6c4796c (patch)
treee454a18a0f61468d10833d8e80039d025f94f568 /toxcore/TCP_server.c
parent37c041f8159f7e89f2585243e9b8073f47d77fd1 (diff)
Ensure that all TODOs have an owner.
In the future, all TODOs added either need a bug number (TODO(#NN)) or a person's github user name. By default, I made irungentoo the owner of all toxcore TODOs, mannol the owner of toxav TODOs, and myself the owner of API TODOs.
Diffstat (limited to 'toxcore/TCP_server.c')
-rw-r--r--toxcore/TCP_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c
index 13e4da45..58efe51c 100644
--- a/toxcore/TCP_server.c
+++ b/toxcore/TCP_server.c
@@ -669,7 +669,7 @@ static int handle_TCP_routing_req(TCP_Server *TCP_server, uint32_t con_id, const
669 other_conn->connections[other_id].status = 2; 669 other_conn->connections[other_id].status = 2;
670 other_conn->connections[other_id].index = con_id; 670 other_conn->connections[other_id].index = con_id;
671 other_conn->connections[other_id].other_id = index; 671 other_conn->connections[other_id].other_id = index;
672 //TODO: return values? 672 // TODO(irungentoo): return values?
673 send_connect_notification(con, index); 673 send_connect_notification(con, index);
674 send_connect_notification(other_conn, other_id); 674 send_connect_notification(other_conn, other_id);
675 } 675 }
@@ -728,7 +728,7 @@ static int rm_connection_index(TCP_Server *TCP_server, TCP_Secure_Connection *co
728 TCP_server->accepted_connection_array[index].connections[other_id].other_id = 0; 728 TCP_server->accepted_connection_array[index].connections[other_id].other_id = 0;
729 TCP_server->accepted_connection_array[index].connections[other_id].index = 0; 729 TCP_server->accepted_connection_array[index].connections[other_id].index = 0;
730 TCP_server->accepted_connection_array[index].connections[other_id].status = 1; 730 TCP_server->accepted_connection_array[index].connections[other_id].status = 1;
731 //TODO: return values? 731 // TODO(irungentoo): return values?
732 send_disconnect_notification(&TCP_server->accepted_connection_array[index], other_id); 732 send_disconnect_notification(&TCP_server->accepted_connection_array[index], other_id);
733 } 733 }
734 734