Typo and type fix
This commit is contained in:
parent
b2c3ca552b
commit
aafa00ecae
2 changed files with 3 additions and 3 deletions
|
@ -4,6 +4,6 @@ import (
|
|||
"net"
|
||||
)
|
||||
|
||||
func NegotiateConnect(conn net.Conn) {
|
||||
|
||||
func NegotiateConnect(conn net.Conn) (bool) {
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ func handle_conn(conn net.Conn, stream_live *bool) {
|
|||
if !DoHandshake(conn) {
|
||||
return
|
||||
}
|
||||
if !NegoiateConnect(conn) {
|
||||
if !NegotiateConnect(conn) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue