commit 49300098c80c6267f351fcad58ca7d5e8919ddd9 Author: David Fifield david@bamsoftware.com Date: Mon May 20 00:26:53 2013 -0700
Shorter. --- appengine/fp-reg.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/appengine/fp-reg.go b/appengine/fp-reg.go index cb0fa04..6e55528 100644 --- a/appengine/fp-reg.go +++ b/appengine/fp-reg.go @@ -31,9 +31,8 @@ func regHandler(w http.ResponseWriter, r *http.Request) { http.NotFound(w, r) return } - c := appengine.NewContext(r) - client := urlfetch.Client(c) - _, err := client.Get(BASE + blob) + client := urlfetch.Client(appengine.NewContext(r)) + resp, err := client.Get(BASE + blob) if err != nil { http.Error(w, err.Error(), http.StatusInternalServerError) return
tor-commits@lists.torproject.org