summaryrefslogtreecommitdiff
path: root/core/net_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/net_crypto.c')
-rw-r--r--core/net_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/net_crypto.c b/core/net_crypto.c
index e01ed695..6536189e 100644
--- a/core/net_crypto.c
+++ b/core/net_crypto.c
@@ -494,7 +494,7 @@ int accept_crypto_inbound(int connection_id, uint8_t * public_key, uint8_t * sec
494 return -1; 494 return -1;
495} 495}
496 496
497/* return 0 if no connection, 1 we have sent a handshake, 2 if connexion is not confirmed yet 497/* return 0 if no connection, 1 we have sent a handshake, 2 if connection is not confirmed yet
498 (we have received a handshake but no empty data packet), 3 if the connection is established. 498 (we have received a handshake but no empty data packet), 3 if the connection is established.
499 4 if the connection is timed out and waiting to be killed */ 499 4 if the connection is timed out and waiting to be killed */
500int is_cryptoconnected(int crypt_connection_id) 500int is_cryptoconnected(int crypt_connection_id)