diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-07-07 10:39:08 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-07-07 10:39:08 -0700 |
commit | 209dce5eb08709bfb5b21e19289b3814619ca6cc (patch) | |
tree | 000b1e5f1ef07274c4ed46e86b0993f60d8c900f /src/upb_table.c | |
parent | a7eaeaaaeca7f0860ecd690f5861e7d72259bf68 (diff) |
Defined the function for getting a upb_symtab for descriptor.proto.
Diffstat (limited to 'src/upb_table.c')
-rw-r--r-- | src/upb_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_table.c b/src/upb_table.c index 6fd2c20..b91776c 100644 --- a/src/upb_table.c +++ b/src/upb_table.c @@ -232,7 +232,7 @@ void *upb_strtable_next(upb_strtable *t, upb_strtable_entry *cur) { do { cur = (void*)((char*)cur + t->t.entry_size); if(cur == end) return NULL; - } while(upb_string_isnull(cur->key)); + } while(cur->key == NULL); return cur; } |