summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-21 17:33:28 -0400
committerAndrew Cady <d@jerkface.net>2020-08-21 17:33:28 -0400
commit893fab60956bf982e0dfd8fcbd80d384dd8deee3 (patch)
tree47aa38080ad7f983d80c81c63812d01cbb446893
parent0a9ce77c015d5aba4e22ac39aa17f00dcb65bdaf (diff)
whitespace
-rw-r--r--client.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/client.c b/client.c
index 5493d84..687bdcf 100644
--- a/client.c
+++ b/client.c
@@ -142,11 +142,7 @@ int handle_acktunnel_frame(protocol_frame *rcvd_frame)
142 return -1; 142 return -1;
143 } 143 }
144 144
145 tun = tunnel_create( 145 tun = tunnel_create(client_tunnel.sockfd, rcvd_frame->connid, rcvd_frame->friendnumber);
146 client_tunnel.sockfd,
147 rcvd_frame->connid,
148 rcvd_frame->friendnumber
149 );
150 146
151 /* Mark that we can accept() another connection */ 147 /* Mark that we can accept() another connection */
152 client_tunnel.sockfd = -1; 148 client_tunnel.sockfd = -1;
@@ -438,11 +434,7 @@ int do_client_loop(uint8_t *tox_id_str)
438 434
439 /* Open a new tunnel for this FD */ 435 /* Open a new tunnel for this FD */
440 client_tunnel.sockfd = accept_fd; 436 client_tunnel.sockfd = accept_fd;
441 send_tunnel_request_packet( 437 send_tunnel_request_packet(remote_host, remote_port, friendnumber);
442 remote_host,
443 remote_port,
444 friendnumber
445 );
446 } 438 }
447 } 439 }
448 440