Commit d53afb8d authored by David G. Andersen's avatar David G. Andersen Committed by Andrew Gerrand

rpc: fix typo in documentation client example

The example incorrectly dereferenced an integer variable

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5129041
parent 8a06936e
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
if err != nil { if err != nil {
log.Fatal("arith error:", err) log.Fatal("arith error:", err)
} }
fmt.Printf("Arith: %d*%d=%d", args.A, args.B, *reply) fmt.Printf("Arith: %d*%d=%d", args.A, args.B, reply)
or or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment