Fixing spelling
This commit is contained in:
parent
00b636bf9d
commit
779dabed9c
|
@ -26,7 +26,7 @@ type OpenConnection struct {
|
||||||
Closed bool
|
Closed bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// Init intializes a OpenConnection object to a default state.
|
// Init initializes a OpenConnection object to a default state.
|
||||||
func (oc *OpenConnection) Init(outbound bool, conn net.Conn) {
|
func (oc *OpenConnection) Init(outbound bool, conn net.Conn) {
|
||||||
oc.conn = conn
|
oc.conn = conn
|
||||||
oc.authHandler = make(map[int32]*AuthenticationHandler)
|
oc.authHandler = make(map[int32]*AuthenticationHandler)
|
||||||
|
|
|
@ -73,7 +73,7 @@ func (srs *StandardRicochetService) Connect(hostname string) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// OnConnect is called when a client or server sucessfully passes Version Negotiation.
|
// OnConnect is called when a client or server successfully passes Version Negotiation.
|
||||||
func (srs *StandardRicochetService) OnConnect(oc *OpenConnection) {
|
func (srs *StandardRicochetService) OnConnect(oc *OpenConnection) {
|
||||||
if oc.Client {
|
if oc.Client {
|
||||||
log.Printf("Sucessefully Connected to %s", oc.OtherHostname)
|
log.Printf("Sucessefully Connected to %s", oc.OtherHostname)
|
||||||
|
|
Loading…
Reference in New Issue