Rename processCommonMsg to processContextFeeMsg

pgx-vs-pq
Jack Christensen 2013-04-08 20:25:04 -05:00
parent d1a586ed64
commit d6ca7af1e3
1 changed files with 3 additions and 3 deletions

View File

@ -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")