diff options
Diffstat (limited to 'src/jplist.c')
| -rw-r--r-- | src/jplist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jplist.c b/src/jplist.c index dd2e36a..c29f760 100644 --- a/src/jplist.c +++ b/src/jplist.c | |||
| @@ -259,6 +259,7 @@ static plist_err_t node_to_json(node_t node, bytearray_t **outbuf, uint32_t dept | |||
| 259 | if (coerce) { | 259 | if (coerce) { |
| 260 | Time64_T timev; | 260 | Time64_T timev; |
| 261 | if (plist_real_to_time64(node_data->realval, &timev) < 0) { | 261 | if (plist_real_to_time64(node_data->realval, &timev) < 0) { |
| 262 | PLIST_JSON_WRITE_ERR("Encountered invalid date value %f\n", node_data->realval); | ||
| 262 | return PLIST_ERR_INVALID_ARG; | 263 | return PLIST_ERR_INVALID_ARG; |
| 263 | } | 264 | } |
| 264 | struct TM _btime; | 265 | struct TM _btime; |
