]> Cypherpunks repositories - gostls13.git/commit
net/dict: parse response correctly + typo
authorFazlul Shahriar <fshahriar@gmail.com>
Thu, 16 Sep 2010 17:37:35 +0000 (13:37 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 16 Sep 2010 17:37:35 +0000 (13:37 -0400)
commitdd0dec62901a7d1cfa1c44d89e94e793a78db049
tree37d277d38ac1f5177ed17eb07dd177ead1855176
parent58e739884b0b7c4ada665bb8ae48cef70420a8c9
net/dict: parse response correctly + typo

* SHOW DB responds with a
  "110 n databases present - text follows" -- parse it.
* Doing a Define() on a non-existing word gives error
  "invalid definition count: no", when we really
  want "552 no match".

R=rsc
CC=golang-dev
https://golang.org/cl/2211041
src/pkg/net/dict/dict.go