Julien Schmidt %!s(int64=12) %!d(string=hai) anos
pai
achega
41c29368f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packets.go

+ 1 - 1
packets.go

@@ -187,7 +187,7 @@ func (mc *mysqlConn) readInitPacket() (err error) {
 		// which is not documented but seems to work.
 		mc.cipher = append(mc.cipher, data[pos:pos+12]...)
 
-		// TODO: Verifiy string termination
+		// TODO: Verify string termination
 		// EOF for version >= (5.5.7 and < 5.5.10) or (>= 5.6.0 and < 5.6.2)
 		// \NUL otherwise
 		//if data[len(data)-1] == 0 {