* Append a newline to the buffer, following the settings of the "dos" * flag. */
| 320 | * flag. |
| 321 | */ |
| 322 | static void |
| 323 | csv_append_newline (xo_buffer_t *xbp, csv_private_t *csv) |
| 324 | { |
| 325 | if (csv->c_flags & CF_DOS_NEWLINE) |
| 326 | xo_buf_append(xbp, "\r\n", 2); |
| 327 | else |
| 328 | xo_buf_append(xbp, "\n", 1); |
| 329 | } |
| 330 | |
| 331 | /* |
| 332 | * Create a 'record' of 'fields' from our recorded leaf values. If |
no test coverage detected