Skip to content

Commit 94afd57

Browse files
Ignacio CorderiIgnacio Corderi
Ignacio Corderi
authored and
Ignacio Corderi
committed
Fixed an issue with the latest protobuf
1 parent ca271be commit 94afd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kinetic/network.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn recv(stream: &mut io::Reader) -> KineticResult<(::proto::Message, ::proto
5252

5353
#[unstable]
5454
pub fn send(stream: &mut io::Writer, proto: &::proto::Message, value: &[u8]) -> KineticResult<()> {
55-
let s = proto.get_cached_size();
55+
let s = proto.compute_size();
5656

5757
let mut hw = io::BufferedWriter::with_capacity(9u + s as uint, stream);
5858
try!(hw.write_u8(70u8)); // Magic number

0 commit comments

Comments
 (0)