all repos — captcha @ fe75d4b6ccdec05c8e3cd271f1815240625c7c2a

Go package captcha implements generation and verification of image and audio CAPTCHAs.

capgen: update for StdLength -> DefaultLen rename.
Dmitry Chestnykh dmitry@codingrobots.com
Thu, 28 Apr 2011 15:58:04 +0200
commit

fe75d4b6ccdec05c8e3cd271f1815240625c7c2a

parent

aef40a9ca4abd64a3a5181853583804d33d7d71b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M capgen/main.gocapgen/main.go

@@ -13,7 +13,7 @@

var ( flagImage = flag.Bool("i", true, "output image captcha") flagAudio = flag.Bool("a", false, "output audio captcha") - flagLen = flag.Int("len", captcha.StdLength, "length of captcha") + flagLen = flag.Int("len", captcha.DefaultLen, "length of captcha") flagImgW = flag.Int("width", captcha.StdWidth, "image captcha width") flagImgH = flag.Int("height", captcha.StdHeight, "image captcha height") )