commit | 19096ddbbff931367be0e4c0e0a511b6d4280d1f | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Wed Jan 21 16:24:58 2015 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Wed Jan 21 05:29:26 2015 +0000 |
tree | fa8469f62fabdb169fdc3b6c21fac3d728023de6 | |
parent | dd6d871815b547742144d6b5b96cf9cbcde2804b [diff] |
app: use a dumb constant that needs no explanation Change-Id: I0a5f8774fd546009a14325fd70b2ac3b11a0204d Reviewed-on: https://go-review.googlesource.com/3075 Reviewed-by: Andrew Gerrand <adg@golang.org>
diff --git a/app/goplay/share.go b/app/goplay/share.go index 62ca356..cbdb7bf 100644 --- a/app/goplay/share.go +++ b/app/goplay/share.go
@@ -18,7 +18,7 @@ const salt = "[replace this with something unique]" -const maxSnippetSize = 1 << 16 // 64KB +const maxSnippetSize = 64 * 1024 type Snippet struct { Body []byte