Skip to content

Commit

Permalink
Fixed a bug in grn_text_otoj().
Browse files Browse the repository at this point in the history
  • Loading branch information
daijiro committed Jul 15, 2009
1 parent 0cefe3b commit e760e91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/str.c
Expand Up @@ -2096,7 +2096,7 @@ grn_text_otoj(grn_ctx *ctx, grn_obj *bulk, grn_obj *obj, grn_obj_format *format)
if (j) { GRN_TEXT_PUTS(ctx, bulk, ", "); }
GRN_BULK_REWIND(&buf);
grn_obj_get_value(ctx, format->columns[j], *v, &buf);
grn_text_otoj(ctx, bulk, &buf, format);
grn_text_otoj(ctx, bulk, &buf, NULL);
}
GRN_TEXT_PUTC(ctx, bulk, ']');
}
Expand All @@ -2123,7 +2123,7 @@ grn_text_otoj(grn_ctx *ctx, grn_obj *bulk, grn_obj *obj, grn_obj_format *format)
if (j) { GRN_TEXT_PUTS(ctx, bulk, ", "); }
GRN_BULK_REWIND(&buf);
grn_obj_get_value(ctx, format->columns[j], id, &buf);
grn_text_otoj(ctx, bulk, &buf, format);
grn_text_otoj(ctx, bulk, &buf, NULL);
}
GRN_TEXT_PUTC(ctx, bulk, ']');
}
Expand Down

0 comments on commit e760e91

Please sign in to comment.