diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-02-25 22:32:55 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-02-25 22:32:55 -0800 |
commit | 47fb22194caf9e8dfeade5e8a63c10bf4f223fac (patch) | |
tree | 3e31fc09b58e28fc99f92f8e84431bc13ac48eb2 /pbstream.c | |
parent | e6b461c84af646e3cb93e1c9fc965f2da4b92f12 (diff) |
Another test, another bugfix.
Diffstat (limited to 'pbstream.c')
-rw-r--r-- | pbstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ static pbstream_status_t get_MESSAGE(struct pbstream_parse_state *s, char *buf, /* We're entering a sub-message. */ uint32_t tmp; char *b = buf; - CHECK(get_v_uint32_t(&buf, &tmp)); + CHECK(get_v_uint32_t(&b, &tmp)); s->offset += (b-buf); /* advance past length varint. */ wvtov_MESSAGE(tmp, &d->v.delimited, s->offset); /* Unlike STRING and BYTES, we *don't* advance past delimited here. */ |