Permalink
Browse files

Allow the yajl_gen_escape_solidus option to be set.

  • Loading branch information...
1 parent e2d0806 commit 0d480b254d66925d591c6dc0193cd2731541e30a @ConradIrwin ConradIrwin committed Jul 17, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/yajl_gen.c
View
@@ -57,6 +57,7 @@ yajl_gen_config(yajl_gen g, yajl_gen_option opt, ...)
switch(opt) {
case yajl_gen_beautify:
case yajl_gen_validate_utf8:
+ case yajl_gen_escape_solidus:
if (va_arg(ap, int)) g->flags |= opt;
else g->flags &= ~opt;
break;

0 comments on commit 0d480b2

Please sign in to comment.