Rename error to code, update xdr path

This commit is contained in:
Audrius Butkevicius
2015-02-06 21:34:51 +00:00
parent fdf15f3ca3
commit bf7fea9a0a
2 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
// Copyright (C) 2014 The Protocol Authors.
//go:generate -command genxdr go run ../syncthing/Godeps/_workspace/src/github.com/calmh/xdr/cmd/genxdr/main.go
//go:generate genxdr -o message_xdr.go message.go
package protocol
@@ -78,8 +79,8 @@ type RequestMessage struct {
}
type ResponseMessage struct {
Data []byte
Error int32
Data []byte
Code int32
}
type ClusterConfigMessage struct {