1
0
mirror of https://github.com/golang/go synced 2024-09-28 16:14:28 -06:00

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