From 779dabed9c082eb610a3e80e34a5bdc85b8ca083 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 8 Nov 2016 14:40:38 -0800 Subject: [PATCH] Fixing spelling --- openconnection.go | 2 +- standardricochetservice.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openconnection.go b/openconnection.go index 8701084..af33b3e 100644 --- a/openconnection.go +++ b/openconnection.go @@ -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) diff --git a/standardricochetservice.go b/standardricochetservice.go index e1e399c..7398620 100644 --- a/standardricochetservice.go +++ b/standardricochetservice.go @@ -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)