[tor-commits] [flashproxy/master] Shorter.
dcf at torproject.org
dcf at torproject.org
Mon May 20 07:32:07 UTC 2013
commit 49300098c80c6267f351fcad58ca7d5e8919ddd9
Author: David Fifield <david at 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
More information about the tor-commits
mailing list