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
This commit is contained in:
David G. Andersen 2011-09-25 14:19:08 +10:00 committed by Andrew Gerrand
parent 8a06936ea1
commit d53afb8d83

View file

@ -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