aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 7c32b70..7a023b5 100644
--- a/client.go
+++ b/client.go
@@ -114,8 +114,8 @@ func (c *Client) post(s Signer, v interface{}) error {
var linksRe = regexp.MustCompile(`^<(.*)>;rel="(.*)"`)
func (c *Client) parseHeader(r *http.Response) {
- if no := r.Header.Get("Replay-Nonce"); no != "" {
- c.nonce <- no
+ if rn := r.Header.Get("Replay-Nonce"); rn != "" {
+ c.nonce <- rn
}
if lo := r.Header.Get("Location"); lo != "" {