From bd851a87ec93db2516455e982f121389a86fc0f7 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 22 May 2026 20:41:23 +0200 Subject: Print debug error message when encoutering invalid PLIST_DATE values --- src/oplist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/oplist.c') diff --git a/src/oplist.c b/src/oplist.c index 4b3b666..77a99cd 100644 --- a/src/oplist.c +++ b/src/oplist.c @@ -303,6 +303,7 @@ static plist_err_t node_to_openstep(node_t node, bytearray_t **outbuf, uint32_t if (coerce) { Time64_T timev; if (plist_real_to_time64(node_data->realval, &timev) < 0) { + PLIST_OSTEP_WRITE_ERR("Encountered invalid date value %f\n", node_data->realval); return PLIST_ERR_INVALID_ARG; } struct TM _btime; -- cgit v1.1-32-gdbae