summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.c b/src/plist.c
index a6d3547..2ad1b0a 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -2407,7 +2407,7 @@ plist_err_t plist_write_to_string(plist_t plist, char **output, uint32_t* length
2407 err = plist_to_json_with_options(plist, output, length, options); 2407 err = plist_to_json_with_options(plist, output, length, options);
2408 break; 2408 break;
2409 case PLIST_FORMAT_OSTEP: 2409 case PLIST_FORMAT_OSTEP:
2410 err = plist_to_openstep(plist, output, length, ((options & PLIST_OPT_COMPACT) == 0)); 2410 err = plist_to_openstep_with_options(plist, output, length, options);
2411 break; 2411 break;
2412 case PLIST_FORMAT_PRINT: 2412 case PLIST_FORMAT_PRINT:
2413 err = plist_write_to_string_default(plist, output, length, options); 2413 err = plist_write_to_string_default(plist, output, length, options);
@@ -2445,7 +2445,7 @@ plist_err_t plist_write_to_stream(plist_t plist, FILE *stream, plist_format_t fo
2445 err = plist_to_json_with_options(plist, &output, &length, options); 2445 err = plist_to_json_with_options(plist, &output, &length, options);
2446 break; 2446 break;
2447 case PLIST_FORMAT_OSTEP: 2447 case PLIST_FORMAT_OSTEP:
2448 err = plist_to_openstep(plist, &output, &length, ((options & PLIST_OPT_COMPACT) == 0)); 2448 err = plist_to_openstep_with_options(plist, &output, &length, options);
2449 break; 2449 break;
2450 case PLIST_FORMAT_PRINT: 2450 case PLIST_FORMAT_PRINT:
2451 err = plist_write_to_stream_default(plist, stream, options); 2451 err = plist_write_to_stream_default(plist, stream, options);