Typo and type fix

This commit is contained in:
Muaz Ahmad 2023-08-10 01:02:22 +05:00
parent b2c3ca552b
commit aafa00ecae
2 changed files with 3 additions and 3 deletions

View file

@ -4,6 +4,6 @@ import (
"net" "net"
) )
func NegotiateConnect(conn net.Conn) { func NegotiateConnect(conn net.Conn) (bool) {
return false
} }

View file

@ -33,7 +33,7 @@ func handle_conn(conn net.Conn, stream_live *bool) {
if !DoHandshake(conn) { if !DoHandshake(conn) {
return return
} }
if !NegoiateConnect(conn) { if !NegotiateConnect(conn) {
return return
} }