Fixing spelling

This commit is contained in:
Sarah Jamie Lewis 2016-11-08 14:40:38 -08:00
parent 00b636bf9d
commit 779dabed9c
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ type OpenConnection struct {
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) {
oc.conn = conn
oc.authHandler = make(map[int32]*AuthenticationHandler)

View File

@ -73,7 +73,7 @@ func (srs *StandardRicochetService) Connect(hostname string) error {
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) {
if oc.Client {
log.Printf("Sucessefully Connected to %s", oc.OtherHostname)