From d6ca7af1e394cc4c86b34557d1714f7d017537c3 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 8 Apr 2013 20:25:04 -0500 Subject: [PATCH] Rename processCommonMsg to processContextFeeMsg --- conn.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conn.go b/conn.go index fb484e52..20e373ea 100644 --- a/conn.go +++ b/conn.go @@ -110,8 +110,8 @@ func (c *conn) processMsg() (msg interface{}, err error) { return c.parseMsg(t, body) } -// Processes messages that could potentially occur in multiple contexts -func (c *conn) processCommonMsg(t byte, body []byte) (err error) { +// Processes messages that are not exclusive to one context such as authentication sdakl sdafj sda sda sd ds ds sad sd sa sd sad dsfsd af +func (c *conn) processContextFreeMsg(t byte, body []byte) (err error) { switch t { case 'S': c.rxParameterStatus(body) @@ -140,7 +140,7 @@ func (c *conn) parseMsg(t byte, body []byte) (msg interface{}, err error) { case 'C': return c.rxCommandComplete(body), nil default: - return nil, c.processCommonMsg(t, body) + return nil, c.processContextFreeMsg(t, body) } panic("Unreachable")