Fix typo in Windows code

https://github.com/jackc/pgx/issues/1274
This commit is contained in:
Jack Christensen 2022-08-11 20:59:37 -05:00
parent 33b782a96d
commit 906f709e0c

View File

@ -5,7 +5,7 @@ package nbconn
// Not using unix build tag for support on Go 1.18.
func (c *NetConn) realNonblockingWrite(b []byte) (n int, err error) {
return fakeNonblockingWrite(b)
return c.fakeNonblockingWrite(b)
}
func (c *NetConn) realNonblockingRead(b []byte) (n int, err error) {