summaryrefslogtreecommitdiff
path: root/noop.go
diff options
context:
space:
mode:
Diffstat (limited to 'noop.go')
-rw-r--r--noop.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/noop.go b/noop.go
index ebe0e1c..1068f31 100644
--- a/noop.go
+++ b/noop.go
@@ -1,15 +1,15 @@
package main
import (
- "flag"
- "fmt"
- "xgob"
- )
+ "flag"
+ "fmt"
+ "xgob"
+)
var iter *uint = flag.Uint("iter", 1000000, "Number of noops to send to the server")
-var wait *bool = flag.Bool("wait", false, "Wait for server to process noops")
+var wait *bool = flag.Bool("wait", false, "Wait for server to process noops")
-func main () {
+func main() {
flag.Parse()
c, _ := xgob.Connect("")
@@ -34,7 +34,7 @@ func main () {
cookie := c.WriteReplyRequest(gifRequest)
c.Flush()
- <- cookie
+ <-cookie
fmt.Println("Done.")
}